From 694a52bf26525a2f31d8766bfbed23ca00644c67 Mon Sep 17 00:00:00 2001 From: Pedro Lopez Date: Mon, 15 Aug 2022 03:22:43 -0400 Subject: [PATCH] fix(publish): ouput, remove message --- tools/publish | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/publish b/tools/publish index 80a2670..2989faf 100755 --- a/tools/publish +++ b/tools/publish @@ -13,17 +13,17 @@ echo "" if [[ "$RELEASE_MODE" == "alpha" ]] then PRERELEASE='true' - VERSION_ARGS='prerelease --preid alpha -m "chore: prerelease v%s"' + VERSION_ARGS="prerelease --preid alpha" DIST_TAG="next" elif [[ "$RELEASE_MODE" == "alpha-minor" ]] then PRERELEASE='true' - VERSION_ARGS='preminor --preid alpha -m "chore: prerelease v%s"' + VERSION_ARGS="preminor --preid alpha" DIST_TAG="next" elif [[ "$RELEASE_MODE" == "alpha-major" ]] then PRERELEASE='true' - VERSION_ARGS='premajor --preid alpha -m "chore: prerelease v%s"' + VERSION_ARGS="premajor --preid alpha" DIST_TAG="next" else echo 'Release Mode required' @@ -48,7 +48,7 @@ if [[ $BRANCH != 'main' ]]; then fi if [[ -n $(git status -s) ]]; then - echo "There are uncommitted changes on this branch. Exiting" + echo "There are uncommitted changes on this branch. Exiting..." exit 1 fi @@ -75,6 +75,6 @@ echo "Version $NEW_VERSION published to $DIST_TAG tag" echo "" echo "::set-output name=NEW_VERSION::$NEW_VERSION" -echo "::set-output name=PRERELEASE::$PRELEASE" +echo "::set-output name=PRERELEASE::$PRERELEASE" exit 0 \ No newline at end of file