2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-12-24 11:05:26 +00:00
nativefier/docs/release.md

39 lines
660 B
Markdown
Raw Normal View History

2016-03-13 07:27:32 +00:00
# Release Notes
2016-01-26 05:30:23 +00:00
2016-03-13 07:27:32 +00:00
My notes for release commands to NPM
2016-01-26 05:30:23 +00:00
## Releasing
At branch `development` ready to release to npm:
``` bash
# Make sure ci tests pass
2016-03-13 16:35:46 +00:00
npm run ci
2016-01-26 05:30:23 +00:00
# See the current version
2016-03-13 16:35:46 +00:00
npm version
2016-01-26 05:30:23 +00:00
# Update the changlog and perform cleanup on it
2016-03-13 16:35:46 +00:00
git changelog docs/changelog.md --tag <next version>
subl docs/changelog.md
2016-01-26 05:30:23 +00:00
2016-03-13 16:35:46 +00:00
git add docs/changelog.md
git commit -m "Update changelog for `v <next version>`"
2016-01-26 05:30:23 +00:00
2016-03-13 16:35:46 +00:00
npm version <next version>
2016-01-26 05:30:23 +00:00
# Can automate from here onwards
# Publish it to npm
2016-03-13 16:35:46 +00:00
npm run release
2016-01-26 05:30:23 +00:00
# Merge changes into master
2016-03-13 16:35:46 +00:00
git checkout master
git merge development
2016-01-26 05:30:23 +00:00
2016-03-13 16:35:46 +00:00
git push --follow-tags
2016-01-26 05:30:23 +00:00
# Return to development
2016-03-13 16:35:46 +00:00
git checkout development
2016-01-26 05:30:23 +00:00
```