X Tutup
Skip to content

Commit bad38fd

Browse files
committed
Remove prerelease metadata from ProductVersion
1 parent 7ecf66a commit bad38fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/releases.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ jobs:
143143
MSBUILD_PATH: ${{ steps.setupmsbuild.outputs.msbuildPath }}
144144
run: |
145145
name="$(basename "$ZIP_FILE" ".zip")"
146-
"${MSBUILD_PATH}\MSBuild.exe" ./build/windows/gh.wixproj -p:SourceDir="$PWD" -p:OutputPath="$PWD" -p:OutputName="$name" -p:ProductVersion="${GITHUB_REF#refs/tags/v}"
146+
version="$(echo -e ${GITHUB_REF#refs/tags/v} | sed s/-.*$//)"
147+
"${MSBUILD_PATH}\MSBuild.exe" ./build/windows/gh.wixproj -p:SourceDir="$PWD" -p:OutputPath="$PWD" -p:OutputName="$name" -p:ProductVersion="$version"
147148
- name: Obtain signing cert
148149
id: obtain_cert
149150
env:

0 commit comments

Comments
 (0)
X Tutup