For releases you should first have a tagged release on the containerd repository.
Afterwards test if you can actually build the release with (for example):
make REF=${TAG} quay.io/centos/centos:stream9
If you can actually build the package then start prepping
your release by adding a changelog entry in the
rpm/containerd.spec
with the format:
./scripts/new-rpm-release <VERSION>
This will add an entry into the changelog for the specified VERSION and will also increment the rpm packaging version if the specified VERSION is already there.
NOTE: Make sure to fill out the bullets for the changelog
Releases can then be built with:
make REF=${TAG} quay.io/centos/centos:stream9
or
make REF=${TAG} BUILD_IMAGE=quay.io/centos/centos:stream9