This document describes the checklist to publish a release via GitHub workflow.
NOTE: Make sure the dependencies in go.mod
file are expected by the release. For example, if there are dependencies on certain version of notation library (notation-go or notation-core-go) or ORAS library (oras-go), make sure that version of library is released first, and the version number is updated accordingly in go.mod
file.
- Determine a SemVer2-valid version prefixed with the letter
v
for release. For example,version="v1.0.0-alpha.1"
. - Bump up the
Version
in internal/version/version.go and open a PR for the changes. - Wait for the PR merge.
- Make a fresh clone of the repository, check the
git log
, and create a tag bygit tag $version
. - After double checking the digest of the tag, push the tag directly to the repository by
git push origin $version
. - Wait for the completion of the GitHub action
release-github
. - Check the new draft release, revise the release description, and publish the release.
- Announce the release in the community.