This document describes the process for releasing a new version of the Scorecard Monitor.
This work is done by the maintainers exclusively.
In order to generate a new release, it is recommended to use the commands:
npm run release:minor
npm run release:patch
npm run release:major
This includes all the changes in the CHANGELOG and ensures that the package.json
and package-lock.json
are up to date.
You can discard the tag that has been generated locally, as we won't use it.
This work is done by the maintainers exclusively.
It is important to ensure that the package.json
, package-lock.json
and CHANGELOG.md
are correct and include all the details for the new release in the main
branch.
In order to create a new release, follow these steps:
- Use the GitHub web UI for new releases.
- Mark
Publish this Action to the GitHub Marketplace
as we want to deliver this to our users. - Target the new release version, like
v.1.0.3-beta5
. Note that you can use metadata like-beta5
and you must includev
as prefix. - Mark
Set as the latest release
- (Optionally) mark
Set as a pre-release
if it is non-production ready. - 💡 Hint: You can check another release (example) to follow the style for title and description (Main Changes, PRs, New contributions).
- Click the
Generate release notes
button in the top right to automatically populate the release description.