Skip to content
This repository has been archived by the owner on Aug 15, 2019. It is now read-only.

Commit

Permalink
Improve publish-npm script (#1268)
Browse files Browse the repository at this point in the history
Don't publish to npm if git tagging fails.

DEV
  • Loading branch information
dsmilkov authored Sep 4, 2018
1 parent cf16d15 commit a30e505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/publish-npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ fi

yarn build-npm
./scripts/make-version # This is for safety in case you forgot to do 2).
npm publish
./scripts/tag-version
npm publish
echo 'Yay! Published a new package to npm.'

0 comments on commit a30e505

Please sign in to comment.