Only appointed team members may publish releases.
- (one time) Login to npm via:
npm login - Run the release preparation script:
./bin/release-prepare.sh - Create and merge the PR.
- Run the release publish script:
./bin/release-publish.sh vN.N.N
(whereN.N.Nis the version tag)
Instructions
- (one time) Login to npm via:
npm login - Create new branch for version bump.
- Verify build is up-to-date:
npm run build:css
Commit substantial unexpected changes via independent PR. - Update version via:
npm version vN.N.N
(whereN.N.Nis the version tag) - Build with new version:
npm run build:css - Commit, push, PR, review, merge.
- Publish to NPM via:
npm publish --access public
Project build will automatically occur before publish. - Create release and tag on GitHub.
- Fetch the latest tags.
git fetch --tags - Check whether tag is annotated.
git describe --always
(expectvN.N.Ni.e. the version tag) - If tag is not annotated, then:
- Annotate Github's tag:
bin/annotate-tag.sh vN.N.N
(whereN.N.Nis the version tag) - Overwrite remote tag with annotated one:
git push --tags --force
- Annotate Github's tag: