fix(publish): exit if pushing to github failed
This commit is contained in:
parent
bb09bb74e7
commit
c09a22c533
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue