1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
# Rolling Lolex releases
You'll need a working installation of [git-extras](https://github.com/tj/git-extras) for this.
## Update Changelog.txt
Compile interesting highlights from [`git changelog`](https://github.com/tj/git-extras/blob/master/Commands.md#git-changelog) into Changelog.md
git changelog --no-merges
## Update AUTHORS
git authors --list > AUTHORS
## Build a new bundle and commit changed files
npm run bundle
git add lolex.js AUTHORS History.md
git commit -m "Prepare for new release"
## Create a new version
```
$ npm version x.y.z
```
Updates package.json and creates a new tag.
## Create a new PR
The `master` branch is protected.
You can merge it yourself.
## Push new commits and tags
```
git push && git push --tags
```
## Publish to NPM
```
$ npm publish
```
## Create a GitHub release
Create a GitHub release where you highlight
interesting additions from the changelog.
Just add a release notes to [the existing tag](https://github.com/sinonjs/lolex/tags).
|