File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 2323 strategy :
2424 matrix :
2525 platform : [x64]
26- framework : [net9.0-windows10.0.26100.0]
2726
2827 # Required for build attestation
2928 permissions :
@@ -211,7 +210,11 @@ jobs:
211210 run : |
212211 $exePath = "${{ runner.temp }}\SignedArtifact\BuildArtifact-${{ env.VERSION }}\CollapseLauncher.exe"
213212 if (Test-Path $exePath) {
214- $version = "CollapseLauncher@" + ([System.Diagnostics.FileVersionInfo]::GetVersionInfo("./CollapseLauncher.exe").ProductVersion)
213+ $version = ((Get-Item $exePath).VersionInfo.FileVersion)
214+ if ($version.EndsWith(".0")) {
215+ $version = $version.Substring(0, $version.Length - 2)
216+ }
217+
215218 if ($version) {
216219 sentry-cli releases new --org collapse --project collapse-launcher $version
217220 sentry-cli releases set-commits --auto $version
You can’t perform that action at this time.
0 commit comments