mirror of
https://github.com/superhelio/tools.git
synced 2026-01-26 11:24:06 +00:00
Ask should we push to origin, with tags
This commit is contained in:
@@ -141,4 +141,11 @@ git merge --no-ff $BRANCH_RELEASE
|
||||
# Remove release branch
|
||||
git branch -d $BRANCH_RELEASE
|
||||
|
||||
echo -ne "${QUESTION_FLAG} ${CYAN}Push to origin?"
|
||||
|
||||
read PUSH
|
||||
if [[ $PUSH =~ [yY](es)* ]] || [ "$PUSH" = "" ]; then
|
||||
git push origin --tags
|
||||
fi
|
||||
|
||||
echo -e "${NOTICE_FLAG} Done!"
|
||||
|
||||
Reference in New Issue
Block a user