Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Latest commit

 

History

History
38 lines (27 loc) · 1.43 KB

MAINTAINING.md

File metadata and controls

38 lines (27 loc) · 1.43 KB

Maintaining

This repository uses yarn to manage NPM-related things.

Releasing a new version

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.

Merge checklist

  • Has code documentation
  • Updated related documentation
  • Has tests
  • Updated changelog (added feature to the "Unreleased" section)

Release checklist

  • 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