Skip to content

Commit 64798aa

Browse files
committed
Update template to correctly set release flag
1 parent be78d51 commit 64798aa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/virtualmin+cloudmin.dev+slib.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,9 @@ jobs:
5454
set -euo pipefail
5555
5656
# Bootstrap build
57-
source bootstrap.bash $([[ "$IS_RELEASE" == "true" ]] || echo "--testing") $([[ "$IS_PRERELEASE" == "true" ]] && echo "--prerelease")
5857
source bootstrap.bash \
59-
$([[ "$IS_RELEASE" != "true" ]] && echo "--testing") \
60-
$([[ "$IS_PRERELEASE" == "true" ]] && echo "--prerelease")
58+
$([[ "$IS_RELEASE" == "true" ]] && echo "--release" || echo "--testing") \
59+
$([[ "$IS_PRERELEASE" == "true" ]] && echo "--prerelease")
6160
6261
# Get package version
6362
pkg_version=$(get_remote_git_tag_version "$GH_REPO" "$GH_TOKEN" "$IS_RELEASE")

0 commit comments

Comments
 (0)