Merge pull request #1142 from MikeMcQuaid/update-no-developer-stable
update.sh: don't restore branch to stable.
This commit is contained in:
commit
1296140e59
@ -299,7 +299,7 @@ EOS
|
|||||||
if [[ -n "$HOMEBREW_NO_UPDATE_CLEANUP" ]]
|
if [[ -n "$HOMEBREW_NO_UPDATE_CLEANUP" ]]
|
||||||
then
|
then
|
||||||
if [[ "$INITIAL_BRANCH" != "$UPSTREAM_BRANCH" && -n "$INITIAL_BRANCH" &&
|
if [[ "$INITIAL_BRANCH" != "$UPSTREAM_BRANCH" && -n "$INITIAL_BRANCH" &&
|
||||||
! "$INITIAL_BRANCH" =~ ^v[0-9]+\.[0-9]+\.[0-9]$ ]]
|
! "$INITIAL_BRANCH" =~ ^v[0-9]+\.[0-9]+\.[0-9]|stable$ ]]
|
||||||
then
|
then
|
||||||
git checkout "$INITIAL_BRANCH" "${QUIET_ARGS[@]}"
|
git checkout "$INITIAL_BRANCH" "${QUIET_ARGS[@]}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user