Don't --track when checking out release branch
This way you can release directly from a release branch (at your own risk, of course).
@@ -147,7 +147,7 @@ function initialize() {
parse_flags $@
# Checkout specific branch, if necessary
if (( BRANCH_RELEASE )); then
- git checkout --track upstream/${RELEASE_BRANCH} || abort "cannot checkout branch ${RELEASE_BRANCH}"
+ git checkout upstream/${RELEASE_BRANCH} || abort "cannot checkout branch ${RELEASE_BRANCH}"
fi
}
