[llvm] workflows/release-binaries: Fixup Windows version string for release candidates (PR #215030)
Cullen Rhodes via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 10 01:49:18 PDT 2026
================
@@ -113,6 +114,14 @@ jobs:
fi
ref="$GITHUB_SHA"
fi
+
+ if [ "$RUNNER_OS" = "Windows" ] && grep 'rc' <<< $release_version; then
+ # The Wix installer generator does not support strings in the version number,
+ # so we need to fixup the version number for release candidates.
+ # For Example: 23.1.0-rc2 will be come 23.0.0.2
+ release_version="$LLVM_VERSION_MAJOR.0.0.$(cut -d c -f2 <<< $release_version)"
----------------
c-rhodes wrote:
does this need to account for upload where the release version need to remain the same?
https://github.com/llvm/llvm-project/pull/215030
More information about the llvm-commits
mailing list