diff --git a/tools/publish b/tools/publish index 2989faf..c3a6a97 100755 --- a/tools/publish +++ b/tools/publish @@ -57,7 +57,7 @@ echo "-----> BUMP VERSION" echo "" npm version $VERSION_ARGS || exit 1 -git push && git push --tags +git push && git push --tags || exit 1 NEW_VERSION=`cat package.json | jq -r .version` echo "New Version: $NEW_VERSION" @@ -77,4 +77,4 @@ echo "" echo "::set-output name=NEW_VERSION::$NEW_VERSION" echo "::set-output name=PRERELEASE::$PRERELEASE" -exit 0 \ No newline at end of file +exit 0