Packager: Move commands that can fail to post script

This commit is contained in:
Feross Aboukhadijeh
2016-06-02 13:50:36 -07:00
parent 5eb75d0250
commit 94b3bc561d
2 changed files with 1 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
#!/bin/sh
set -e
npm run update-authors
git diff --exit-code
npm run package -- --sign
git push

View File

@@ -2,8 +2,6 @@
set -e
git pull
npm run update-authors
git diff --exit-code
rm -rf node_modules/
npm install
npm dedupe