Skip to content

Commit ead156b

Browse files
committed
feat(brew-bump): add check for VERSION
1 parent c843a73 commit ead156b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

ci/steps/brew-bump.sh

+9
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ main() {
55
cd "$(dirname "$0")/../.."
66
# Only sourcing this so we get access to $VERSION
77
source ./ci/lib.sh
8+
source ./ci/steps/steps-lib.sh
9+
10+
echo "Checking environment variables"
11+
12+
# We need VERSION to bump the brew formula
13+
if [[ $(is_env_var_set "VERSION") -eq 1 ]]; then
14+
echo "VERSION is not set"
15+
exit 1
16+
fi
817

918
# NOTE: we need to make sure cdrci/homebrew-core
1019
# is up-to-date

0 commit comments

Comments
 (0)