Skip to content

Commit

Permalink
Skip canary release on release build
Browse files Browse the repository at this point in the history
  • Loading branch information
Electroid committed Aug 7, 2024
1 parent d2c821b commit 76a3dc2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .buildkite/scripts/upload-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
set -eo pipefail

function assert_main() {
if [ "$RELEASE" == "1" ]; then
echo "info: Skipping canary release because this is a release build"
exit 0
fi
if [ -z "$BUILDKITE_REPO" ]; then
echo "error: Cannot find repository for this build"
exit 1
Expand Down

0 comments on commit 76a3dc2

Please sign in to comment.