Skip to content

Commit 1ad43b7

Browse files
committed
fix script
1 parent c296e49 commit 1ad43b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"build:clean": "rm -rf dist",
4343
"build:bundle": "mkdir dist && browserify index.js -o dist/underscore.string.js -p browserify-header",
4444
"build:min": "uglifyjs dist/underscore.string.js -o dist/underscore.string.min.js --comments",
45-
"release": "npm test && npm run release:version && npm run build && npm run release:push && npm publish",
45+
"release": "npm test && npm run release:version && npm run build && npm run release:push",
4646
"release:version": "node scripts/bump-version.js",
4747
"release:push": "node scripts/push-tags.js"
4848
},

scripts/push-tags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
var exec = require('child_process').exec;
22
var version = require('../package.json').version;
33

4-
exec('git commit -a -m "Version ' + version + '" && git push origin master && git tag -a ' + version + ' -m "' + version + '" && git push origin --tags');
4+
exec('git add -A && git commit -m "Version ' + version + '" && git push origin master && git tag -a ' + version + ' -m "' + version + '" && git push origin --tags && npm publish');

0 commit comments

Comments
 (0)