Skip to content

Commit cc49cd9

Browse files
committed
npm:publish
add post push so version is up after publish
1 parent 63abf97 commit cc49cd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"test": "mocha",
88
"test:debug": "DEBUG='*' mocha debug",
9-
"npm:publish": "npm test && [ -z \"$(git status --porcelain)\" ] && git push && npm version patch && npm publish && git push --tag",
9+
"npm:publish": "set -uex; rm -rf node_modules; yarn; npm test; [ -z \"$(git status --porcelain)\" ]; git push; npm version patch; npm publish; git push; git push --tag",
1010
"npm:pubtest": "npm test && npm version prerelease && npm publish --tag testing"
1111
},
1212
"repository": {

0 commit comments

Comments
 (0)