Skip to content

Commit

Permalink
fix: update version temporarily when releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
jolexxa committed Apr 25, 2024
1 parent b35f51c commit 4e6d68e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,15 @@ jobs:
# Use the .NET SDK from global.json in the root of the repository.
global-json-file: global.json

# Write version to file so .NET will build correct version.
- name: 📝 Write Version to File
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "0.0.0-devbuild"
replace: ${{ steps.next-version.outputs.version }}
regex: false
include: GodotTestDriver/GodotTestDriver.csproj

- name: 📦 Build
run: dotnet build Chickensoft.GoDotCollections/Chickensoft.GoDotCollections.csproj -c Release

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<DebugType>portable</DebugType>

<Title>Chickensoft.GoDotCollections</Title>
<Version>1.4.0</Version>
<Version>0.0.0-devbuild</Version>

Check warning on line 16 in Chickensoft.GoDotCollections/Chickensoft.GoDotCollections.csproj

View workflow job for this annotation

GitHub Actions / 🧑‍🏫 Spellcheck

Unknown word (devbuild)
<Description>Chickensoft's collections collection.</Description>
<Copyright>© 2023 Chickensoft</Copyright>
<Authors>Chickensoft</Authors>
Expand Down

0 comments on commit 4e6d68e

Please sign in to comment.