diff --git a/home/.bin/gs-release b/home/.bin/gs-release index 8300e7a..69c3501 100755 --- a/home/.bin/gs-release +++ b/home/.bin/gs-release @@ -107,6 +107,11 @@ if [ "${CONFIRM}" = "y" ]; then echo "" echo "🚀 Keep an eye on $(underline "https://github.com/${ORG_NAME}/${REPO_NAME}/pulls") for the new release PR" + echo "" + + echo "Switching back to the main git branch" + git checkout $(git remote show origin 2>/dev/null|grep HEAD|sed 's/.* //') &> /dev/null + git pull &> /dev/null else echo "Aborting..." exit 1