diff --git a/script/bump-nightly b/script/bump-nightly index 92cdd191eb..2b126d9afc 100755 --- a/script/bump-nightly +++ b/script/bump-nightly @@ -1,5 +1,7 @@ #!/bin/bash +set -e + branch=$(git rev-parse --abbrev-ref HEAD) if [ "$branch" != "main" ]; then echo "You must be on main to run this script"