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. After updating go.mod file, run go mod tidy
to ensure the go.sum file is also updated with any potential changes.
- 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.
- Be on the main branch connected to the actual repository (not a fork) and
git pull
. Ensuregit log -1
shows the latest commit on the main branch. - Create a tag
git tag -am $version $version
git tag
and ensure the name in the list added looks correct, then push the tag directly to the repository bygit push --follow-tags
.- 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.