2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-18 02:25:12 +00:00
nativefier/docs/release.md

37 lines
882 B
Markdown
Raw Normal View History

# Release
2016-01-26 05:30:23 +00:00
Releases are automatically deployed to NPM on Travis, when they are tagged. However, we have to make sure that the version in the `package.json`, and the changelog is updated.
2016-01-26 05:30:23 +00:00
## Dependencies
- [Git Extras](https://github.com/tj/git-extras/blob/master/Installation.md)
2017-05-21 12:42:36 +00:00
- [jq](https://stedolan.github.io/jq/download/)
2016-01-26 05:30:23 +00:00
## How to Release `$VERSION`
2016-01-26 05:30:23 +00:00
While on `master`, with no uncommitted changes,
```bash
npm run changelog -- $VERSION
```
2016-01-26 05:30:23 +00:00
This command does 3 things:
1. Update the version in the `package.json`
2. Update the changelog
3. Creates a new commit with the changes
2016-01-26 05:30:23 +00:00
Now we may want to cleanup the changelog:
2016-01-26 05:30:23 +00:00
```bash
vim docs/changelog.md
git commit --amend
```
Once we are satisfied,
```bash
git push origin master
```
2016-01-26 05:30:23 +00:00
On [GitHub Releases](https://github.com/jiahaog/nativefier/releases), draft and publish a new release with title `Nativefier vX.X.X`.