Skip to content

Commit

Permalink
Use the version hook to update changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjeffburke committed Sep 22, 2019
1 parent e5bf299 commit 961b52e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"coverage": "nyc --reporter=lcov --reporter=text npm test",
"preversion": "npm run lint && npm run test",
"prepublishOnly": "npm run build && npm run bundle",
"postversion": "npm run changelog && git add CHANGELOG.md && git commit --allow-empty -m 'Update changelog' && npm run generate-site && gh-pages -d site-build",
"version": "offline-github-changelog --next=${npm_package_version} > CHANGELOG.md && git add CHANGELOG.md",
"postversion": "npm run generate-site && gh-pages -d site-build",
"generate-site": "generate-site --require ./bootstrap-unexpected-markdown.js",
"update-examples": "generate-site --require ./bootstrap-unexpected-markdown.js --update-examples"
},
Expand Down

0 comments on commit 961b52e

Please sign in to comment.