- Make sure that all specs are green on CI.
- Make sure the
jasmine-core
peer dependency and thejasmine-core
andjasmine
dev dependencies are correct (pointing to a release rather than github, and the version number is right)- If you change any, push the changes and wait for CI to go green.
- Generate release notes in
release_notes
using the Anchorman gem and edit them.- Include a table of supported Node versions and browsers. To get the currently tested versions of evergreen browsers (everything that doesn't have a version specified in jasmine-core's scripts/run-all-browsers), trigger a jasmine-core build on Circle CI and check https://app.saucelabs.com/dashboard/tests/vdc after it finishes.
- Update the version in
package.json
. - Commit the release notes and
package.json
change. - Push.
- Wait for Circle CI to go green again.
- Create a tag for the version, e.g.
git tag v1.2.0
. - Push the tag:
git push --tags
- Publish the NPM package:
npm publish
.
- Visit the GitHub releases page and find the tag just published.
- Paste in a link to the correct release notes for this release.
- If it is a pre-release, mark it as such.
- Publish the release.