From 53320e84a1c7ef10b9a1eabe284226e2277a7075 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Thu, 21 Jul 2016 01:24:45 -0400 Subject: [PATCH] Fail mkrelease on npm publish failure * tools/mkrelease: exit on failed `npm publish' --- tools/mkrelease | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/mkrelease b/tools/mkrelease index 02f4689..54104b0 100755 --- a/tools/mkrelease +++ b/tools/mkrelease @@ -75,7 +75,8 @@ gnupload --to ftp.gnu.org:easejs --symlink-regex \ # publish to npm (assumes already logged in); note that failure will not # 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 git checkout website \