Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
stoeffel committed Feb 24, 2016
1 parent c296e49 commit 1ad43b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"build:clean": "rm -rf dist",
"build:bundle": "mkdir dist && browserify index.js -o dist/underscore.string.js -p browserify-header",
"build:min": "uglifyjs dist/underscore.string.js -o dist/underscore.string.min.js --comments",
"release": "npm test && npm run release:version && npm run build && npm run release:push && npm publish",
"release": "npm test && npm run release:version && npm run build && npm run release:push",
"release:version": "node scripts/bump-version.js",
"release:push": "node scripts/push-tags.js"
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/push-tags.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var exec = require('child_process').exec;
var version = require('../package.json').version;

exec('git commit -a -m "Version ' + version + '" && git push origin master && git tag -a ' + version + ' -m "' + version + '" && git push origin --tags');
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 comments on commit 1ad43b7

Please sign in to comment.