Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilWindle committed Sep 13, 2023
1 parent 3a4372f commit 2497dae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build-system/scripts/force_deploy_build
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ shift

# if FORCE_BUILD is already set, just continue with it
if [[ $FORCE_BUILD == 'true' ]]; then
build $REPOSITORY true $@
build $REPOSITORY $FORCE_BUILD $@
exit 0
fi

Expand All @@ -39,12 +39,12 @@ if [[ -n "${COMMIT_TAG:-}" ]]; then
VERSION=$(npx semver $COMMIT_TAG_VERSION)
if [ -z "$VERSION" ]; then
# Not a version tag, build normally
build $REPOSITORY false $@
build $REPOSITORY "false" $@
else
# Force build
build $REPOSITORY true $@
build $REPOSITORY "true" $@
fi
else
# Not a tagged commit, build normally
build $REPOSITORY false $@
build $REPOSITORY "false" $@
fi

0 comments on commit 2497dae

Please sign in to comment.