mirror of
https://github.com/gosticks/brew.git
synced 2026-08-16 22:50:18 +00:00
Merge pull request #8247 from MikeMcQuaid/brew-ci
bin/brew: only export CI if not set.
This commit is contained in:
@@ -79,9 +79,9 @@ then
|
||||
export HOMEBREW_EDITOR="$VISUAL"
|
||||
fi
|
||||
|
||||
# Set CI variable for GitHub Actions, Azure Pipelines, Jenkins
|
||||
# Set CI variable for Azure Pipelines and Jenkins
|
||||
# (Set by default on Circle and Travis CI)
|
||||
if [[ -n "$GITHUB_ACTIONS" || -n "$TF_BUILD" || -n "$JENKINS_HOME" ]]
|
||||
if [[ -z "$CI" ]] && [[ -n "$TF_BUILD" || -n "$JENKINS_HOME" ]]
|
||||
then
|
||||
export CI="1"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user