- Make sure that all specs are green on CI. Also test in Safari via jasmine-core's CI.
- Make sure the
jasmine-corepeer dependency and thejasmine-coreandjasminedev 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_notesusing 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. To get the currently tested version of Safari, check the output of the "Report Safari version" step of the GitHub Action run that you triggered in step 1.
- Update the version in
package.json. - Commit the release notes and
package.jsonchange. - 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.