Nativefier/docs/release.md

29 lines
563 B
Markdown
Raw Normal View History

2016-03-13 08:27:32 +01:00
# Release Notes
2016-01-26 06:30:23 +01:00
How to release a new version to NPM
2016-01-26 06:30:23 +01:00
## Releasing
Run the following command to get the changelog
2016-01-26 06:30:23 +01:00
```
git checkout master
2016-01-26 06:30:23 +01:00
# Get the current version
2016-03-13 17:35:46 +01:00
npm version
2016-01-26 06:30:23 +01:00
# Add the changelog for the next version
2016-03-13 17:35:46 +01:00
git changelog docs/changelog.md --tag <next version>
2016-01-26 06:30:23 +01:00
# Edit the changelog
vim docs/changelog.md
# Commit it
2016-03-13 17:35:46 +01:00
git add docs/changelog.md
git commit -m "Update changelog for \`v<next version>\`"
git push
```
2016-01-26 06:30:23 +01:00
On [GitHub Releases](https://github.com/jiahaog/nativefier/releases), draft and publish a new release with title `Nativefier vX.X.X`.