Switch to main after gs-release
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
35853c10c2
commit
cbe4bdc0d7
@ -107,6 +107,11 @@ if [ "${CONFIRM}" = "y" ]; then
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "🚀 Keep an eye on $(underline "https://github.com/${ORG_NAME}/${REPO_NAME}/pulls") for the new release PR"
|
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
|
else
|
||||||
echo "Aborting..."
|
echo "Aborting..."
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user