Contributions welcome, please raise a pull request.
To develop locally:
npm install
npm run devSee updating
git pull --rebase on main and then run:
git checkout -b "v1.2.3"
vim CHANGELOG.md # Update CHANGELOG, put all unreleased changes under new heading.
git commit -am "Update CHANGELOG"
npm version <major|minor|patch> -m "## 1.2.3 - 2017-01-13
- Change included in this release
- Another change included in this release"
git push --tags --set-upstream origin refs/heads/v1.2.3:refs/heads/v1.2.3Create a pull request for the release and merge once it has been approved, then run:
git checkout main
git pull --rebase- Sign in to npm (
npm login) asgovuk-patterns-and-toolsusing the credentials from BitWarden. - Run
npm publishto publish to npm. - Open the 'create a new release' dialog on GitHub.
- Select the latest tag version.
- Set 'v[VERSION-NUMBER]' as the title.
- Add the release notes from the changelog.
- Add a summary of highlights.
- Select Publish release.
You do not need to manually attach source code files to the release on GitHub.