Skip to content
Snippets Groups Projects
Commit e8ebcb83 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

update.sh: allow forcing tag update.

To test the tag update functionality allow setting
`HOMEBREW_UPDATE_TO_TAG`.
parent b2c7d6d8
No related branches found
No related tags found
No related merge requests found
HOMEBREW_VERSION="0.9.9"
HOMEBREW_VERSION="1.0.0"
onoe() {
if [[ -t 2 ]] # check whether stderr is a tty.
......
......@@ -348,7 +348,7 @@ EOS
set -x
fi
if [[ -z "$HOMEBREW_UPDATE_CLEANUP" ]]
if [[ -z "$HOMEBREW_UPDATE_CLEANUP" && -z "$HOMEBREW_UPDATE_TO_TAG" ]]
then
if [[ -n "$HOMEBREW_DEVELOPER" || -n "$HOMEBREW_DEV_CMD_RUN" ]]
then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment