You'll need a working installation of git-extras for this.
Compile interesting highlights from git changelog
into Changelog.md
git changelog --no-merges
git authors --list > AUTHORS
npm run bundle
git add lolex.js AUTHORS History.md
git commit -m "Prepare for new release"
$ npm version x.y.z
Updates package.json and creates a new tag.
The master
branch is protected.
You can merge it yourself.
Assuming that
origin
points togithub.com/sinonjs/lolex
git push --follow-tags origin
$ npm publish
Create a GitHub release where you highlight interesting additions from the changelog. Just add a release notes to the existing tag.