1
0
Fork 0

Fail mkrelease on npm publish failure

* tools/mkrelease: exit on failed `npm publish'
master
Mike Gerwitz 2016-07-21 01:24:45 -04:00
parent 705f092eb0
commit 53320e84a1
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 2 additions and 1 deletions

View File

@ -75,7 +75,8 @@ gnupload --to ftp.gnu.org:easejs --symlink-regex \
# publish to npm (assumes already logged in); note that failure will not # publish to npm (assumes already logged in); note that failure will not
# abort the process, just in case # abort the process, just in case
npm publish easejs-"$version".tar.gz npm publish easejs-"$version".tar.gz \
|| echo '!!! npm upload failed!' >&2
# now the website # now the website
git checkout website \ git checkout website \