Skip to content

Commit

Permalink
Fix version retrieval (again??)
Browse files Browse the repository at this point in the history
  • Loading branch information
MattEqualsCoder committed Jun 27, 2024
1 parent 22d1352 commit 9b36e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
if: ${{ github.event_name != 'pull_request' }}
id: version
run: |
$version = (Get-Item "src\TrackerCouncil.Smz3.UI\bin\Release\net8.0\osx-arm64\publish\TrackerCouncil.Smz3.UI.dll").VersionInfo.ProductVersion
$version = (Get-Item "src\TrackerCouncil.Smz3.UI\bin\Release\net8.0\osx-arm64\publish\SMZ3CasRandomizer.dll").VersionInfo.ProductVersion
$version = $version -replace "\+.*", ""
$versionShort = $version -replace "\-.*", ""
(Get-Content setup/Info.plist).Replace('%FULL_VERSION%', $version).Replace('%SHORT_VERSION%', $versionShort) | Set-Content setup/Info.plist
Expand Down

0 comments on commit 9b36e17

Please sign in to comment.