From e4da21f6f8d2a7c5da41ad5718e9cede2a77a5a2 Mon Sep 17 00:00:00 2001 From: Vadim Peretokin Date: Thu, 9 May 2024 08:38:15 +0200 Subject: [PATCH] Fix updater to be included in PTBs --- CI/build-mudlet-for-windows.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CI/build-mudlet-for-windows.sh b/CI/build-mudlet-for-windows.sh index 2918805af41..aca4085d7f8 100644 --- a/CI/build-mudlet-for-windows.sh +++ b/CI/build-mudlet-for-windows.sh @@ -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 @@ -170,4 +170,4 @@ echo " ... make finished" echo "" cd ~ || exit 1 -exit 0 \ No newline at end of file +exit 0