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 #!/bin/sh
set -e set -e
npm run update-authors
git diff --exit-code git diff --exit-code
npm run package -- --sign npm run package -- --sign
git push git push

View File

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