To release a new version, please take the following steps:
-
Update the changelog:
- Determine the new version by looking at the 'Unreleased' section of the changelog
- The current 'Unreleased' section becomes the new version.
- Create a new empty 'Unreleased' section
-
Increase the version in
package.json
by doingnpm version <VALID_SEMVER_STRING> --no-git-tag-version --force
where<VALID_SEMVER_STRING>
is e.g 'patch' or 'minor' -
Commit and push the changelog update & version increase
-
Tag a new version where
<VERSION_NUMBER>
is of formatv1.2.3
:git tag -a <VERSION_NUMBER> -m 'release: version <VERSION_NUMBER>' <full-commit-id>
git push origin <VERSION_NUMBER>
If you're working with milestones, also consider the following:
-
Move open issues from the current milestone to the upcoming milestone:
- Menu item Issues > filter on current milestone
- Select all issues
- Update all issues by selecting the upcoming milestone in the top-right corner
-
Close the current milestone:
- Find the current milestone
- Click 'Close'
-
Create an extra milestone, so we always have at least two active milestones.