diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 5347528f9..b95c51715 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -143,7 +143,8 @@ jobs: MSBUILD_PATH: ${{ steps.setupmsbuild.outputs.msbuildPath }} run: | name="$(basename "$ZIP_FILE" ".zip")" - "${MSBUILD_PATH}\MSBuild.exe" ./build/windows/gh.wixproj -p:SourceDir="$PWD" -p:OutputPath="$PWD" -p:OutputName="$name" -p:ProductVersion="${GITHUB_REF#refs/tags/v}" + version="$(echo -e ${GITHUB_REF#refs/tags/v} | sed s/-.*$//)" + "${MSBUILD_PATH}\MSBuild.exe" ./build/windows/gh.wixproj -p:SourceDir="$PWD" -p:OutputPath="$PWD" -p:OutputName="$name" -p:ProductVersion="$version" - name: Obtain signing cert id: obtain_cert env: