This repository uses yarn
to manage NPM-related things.
The releases should follow Semantic Versioning.
git flow release start <version> # Start new git-flow release
nano package.json && git commit -m "Bump version to <version>" # Bump version in `package.json`
yarn document && git commit -m "Update code documentation" # Re-generate code documentation
git flow release finish # Finalize git-flow release
git push --all && git push --tags # Push all branches and tags
yarn publish # Publish the release to NPM
Also don't forget to add a new release in the repository itself.
- Has code documentation
- Updated related documentation
- Has tests
- Updated changelog (added feature to the "Unreleased" section)
- Builds successfully
- Tests (and integration tests) run through
- Generated documentation
- Updated the changelog (move "Unreleased" section to new version)
- Checked/updated old ressources (examples, tutorials, etc)
- Pushed version to NPM
- Added new release on GitHub
- Closed issues resolved by this release