This directory contain the files and scripts to run a policy-controller release.
- Release notes: Create a PR to update and review release notes in CHANGELOG.md.
- Check merged pull requests since the last release and make sure enhancements, bug fixes, and authors are reflected in the notes.
You can get a list of pull requests since the last release by substituting in the date of the last release and running:
git log --pretty="* %s" --after="YYYY-MM-DD"
and a list of authors by running:
git log --pretty="* %an" --after="YYYY-MM-DD" | sort -u
- Tag the repository
$ export RELEASE_TAG=<release version, eg "v1.4.0">
$ git tag -s ${RELEASE_TAG} -m "${RELEASE_TAG}"
$ git push origin ${RELEASE_TAG}-
The tag push will start the https://github.com/sigstore/policy-controller/blob/main/.github/workflows/release.yaml job and will build and release all the artifacts and images.
-
Send an announcement email to
sigstore-dev@googlegroups.commailing list -
Tweet about the new release with a fun new trigonometry pun!
-
Honk!
- Add a pending new section in CHANGELOG.md to set up for the next release