File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 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 },
Original file line number Diff line number Diff line change 11var exec = require ( 'child_process' ) . exec ;
22var 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 ' ) ;
You can’t perform that action at this time.
0 commit comments