Skip to content

Commit

Permalink
Fix bad wix version when doing non-GA windows releases.
Browse files Browse the repository at this point in the history
Wix does not accept anything after the major.minor.bugfix triplet.

Signed-off-by: Thomas Hallgren <[email protected]>
  • Loading branch information
thallgren committed Apr 18, 2024
1 parent 4f89cb8 commit 032c558
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packaging/windows-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ zip -r -j "${BINDIR}/telepresence.zip" "${ZIPDIR}"

# Generate installer
cp "${SCRIPT_DIR}/sidebar.png" "${ZIPDIR}/sidebar.png"
TELEPRESENCE_PLAIN_VERSION=${TELEPRESENCE_VERSION#"v"}
TELEPRESENCE_PLAIN_VERSION=${TELEPRESENCE_VERSION#v}
TELEPRESENCE_PLAIN_VERSION=${TELEPRESENCE_PLAIN_VERSION%-*}
sed s/TELEPRESENCE_VERSION/"$TELEPRESENCE_PLAIN_VERSION"/ "${SCRIPT_DIR}/telepresence.wxs.in" > "${ZIPDIR}/telepresence.wxs"
sed s/TELEPRESENCE_VERSION/"$TELEPRESENCE_PLAIN_VERSION"/ "${SCRIPT_DIR}/bundle.wxs.in" > "${ZIPDIR}/bundle.wxs"

Expand Down

0 comments on commit 032c558

Please sign in to comment.