Skip to content

Commit

Permalink
Fix updater to be included in PTBs
Browse files Browse the repository at this point in the history
  • Loading branch information
vadi2 committed May 9, 2024
1 parent 3f46f56 commit e4da21f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CI/build-mudlet-for-windows.sh
Expand Up @@ -132,11 +132,11 @@ if [ "${MSYSTEM}" = "MINGW64" ]; then
export WITH_OWN_QTKEYCHAIN="NO"
fi

if [[ "$GITHUB_REPO_TAG" == "false" ]]; then
# The updater is not helpful in this environment (PTB or PR)
if [[ "$GITHUB_REPO_TAG" == "false" ]] && [[ "$GITHUB_SCHEDULED_BUILD" == "false" ]]; then
# The updater is not helpful in this environment (PR testing build)
export WITH_UPDATER="NO"
else
# Tagged build, this is a release build, include the updater
# Tagged build, this is a release or a PTB build, include the updater
export WITH_UPDATER="YES"
fi
# This one is VITAL as some things in the code have to be tweaked to be
Expand Down Expand Up @@ -170,4 +170,4 @@ echo " ... make finished"
echo ""

cd ~ || exit 1
exit 0
exit 0

0 comments on commit e4da21f

Please sign in to comment.