Skip to content

fix: reverse logic in brew-bump env fns #4732

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ci/steps/brew-bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ main() {
echo "Checking environment variables"

# We need VERSION to bump the brew formula
if is_env_var_set "VERSION"; then
if ! is_env_var_set "VERSION"; then
echo "VERSION is not set"
exit 1
fi

# We need HOMEBREW_GITHUB_API_TOKEN to push up commits
if is_env_var_set "HOMEBREW_GITHUB_API_TOKEN"; then
if ! is_env_var_set "HOMEBREW_GITHUB_API_TOKEN"; then
echo "HOMEBREW_GITHUB_API_TOKEN is not set"
exit 1
fi
Expand Down