From c49f1f1fc63c7111296e20bb6501c8b636e10364 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Wed, 22 Jun 2022 09:07:06 +0100 Subject: [PATCH] Improved output Signed-off-by: Marcus Noble --- home/.bin/gs-release | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/home/.bin/gs-release b/home/.bin/gs-release index 30e37e1..8300e7a 100755 --- a/home/.bin/gs-release +++ b/home/.bin/gs-release @@ -96,14 +96,17 @@ printf "Confirm? (y/n): " read CONFIRM if [ "${CONFIRM}" = "y" ]; then + echo "" echo "Publishing new release branch..." + echo "" git checkout -b "${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}') 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 echo "Aborting..." exit 1