From 9b36e17b87115b8005a5b558d0c4b2f5f546320e Mon Sep 17 00:00:00 2001 From: MattEqualsCoder Date: Wed, 26 Jun 2024 22:15:46 -0400 Subject: [PATCH] Fix version retrieval (again??) --- .github/workflows/dotnet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 69d603942..7fc7eab30 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -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