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