Nativefier/docs/release.md

40 lines
662 B
Markdown
Raw Normal View History

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