Skip to content

Commit

Permalink
Update package.json to use build/versionInfo.js
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjbarton committed Jan 28, 2016
1 parent fb96542 commit a55b8e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
"just-publish": "npm publish # workaround https://github.com/npm/npm/issues/10074 ",
"postjust-publish": "npm run push-published && npm run push-gh-pages",
"/** Update Version Number **/": "After publishing version N, update the version number and commit the result",
"store-semver": "node build/printSemver.js > build/npm-version-number",
"store-semver": "node build/versionInfo.js -v > build/npm-version-number",
"update-semver": "npm run store-semver && git diff --quiet -- package.json && node build/incrementSemver.js",
"precommit-published": "npm run update-semver && npm run rebuild",
"commit-published": "cat build/npm-version-number | xargs -I VERSION git commit -a -m \"VERSION\"",
"tag-published": "cat build/npm-version-number | xargs -I VERSION git tag -a VERSION -m \"Tagged version VERSION \"",
"pre-push-published": "npm run commit-published && npm run tag-published",
"prepush-published": "npm run commit-published && npm run tag-published",
"push-published": "git push --tags upstream upstream_master:master && git push upstream upstream_master:master # Push source for version N+1",
"postpush-published": "git checkout master && git branch -D upstream_master",
"/** Update gh-pages branch **/": "Ater publishing version N, update the github docs and REPL",
Expand Down

0 comments on commit a55b8e6

Please sign in to comment.