Merge pull request #8247 from MikeMcQuaid/brew-ci
bin/brew: only export CI if not set.
This commit is contained in:
commit
c3eada09d3
4
bin/brew
4
bin/brew
@ -79,9 +79,9 @@ then
|
|||||||
export HOMEBREW_EDITOR="$VISUAL"
|
export HOMEBREW_EDITOR="$VISUAL"
|
||||||
fi
|
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)
|
# (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
|
then
|
||||||
export CI="1"
|
export CI="1"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user