Improved output
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
10a9883a84
commit
c49f1f1fc6
@ -96,14 +96,17 @@ printf "Confirm? (y/n): "
|
|||||||
read CONFIRM
|
read CONFIRM
|
||||||
|
|
||||||
if [ "${CONFIRM}" = "y" ]; then
|
if [ "${CONFIRM}" = "y" ]; then
|
||||||
|
echo ""
|
||||||
echo "Publishing new release branch..."
|
echo "Publishing new release branch..."
|
||||||
|
echo ""
|
||||||
git checkout -b "${NEW_BRANCH}"
|
git checkout -b "${NEW_BRANCH}"
|
||||||
git push -u origin "${NEW_BRANCH}"
|
git push -u origin "${NEW_BRANCH}"
|
||||||
|
|
||||||
ORG_NAME=$(git remote get-url origin | sed 's/.*github.com[:|\/]//' | sed 's/\.git$//' | tr '/' ' ' | awk '{print $1}')
|
ORG_NAME=$(git remote get-url origin | sed 's/.*github.com[:|\/]//' | sed 's/\.git$//' | tr '/' ' ' | awk '{print $1}')
|
||||||
REPO_NAME=$(git remote get-url origin | sed 's/.*github.com[:|\/]//' | sed 's/\.git$//' | tr '/' ' ' | awk '{print $2}')
|
REPO_NAME=$(git remote get-url origin | sed 's/.*github.com[:|\/]//' | sed 's/\.git$//' | tr '/' ' ' | awk '{print $2}')
|
||||||
|
|
||||||
echo "🚀 Keep an eye on https://github.com/${ORG_NAME}/${REPO_NAME}/pulls for the new release PR"
|
echo ""
|
||||||
|
echo "🚀 Keep an eye on $(underline "https://github.com/${ORG_NAME}/${REPO_NAME}/pulls") for the new release PR"
|
||||||
else
|
else
|
||||||
echo "Aborting..."
|
echo "Aborting..."
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user