This document describes how to release a new version of meows.
Follow semantic versioning 2.0.0 to choose the new version number.
Before you release, label pull requests appropriately. The release workflow creates a release note referring to the labels on the pull requests. You can check the rules for labeling in release.yml.
-
Determine a new version number. Then set
VERSIONvariable.# Set VERSION and confirm it. It should not have "v" prefix. VERSION=x.y.z echo $VERSION
-
Make a branch to release.
git switch -c "bump-$VERSION" -
Bump version.
echo "$VERSION" > VERSION sed -i -E "s/(.*newTag: ).*/\1${VERSION}/" config/controller/kustomization.yaml config/agent/kustomization.yaml sed -i -E "s/(.*Version = ).*/\1\"${VERSION}\"/" constants.go
-
Commit the change and push it.
git commit -a -m "Bump version to $VERSION" git push origin "bump-$VERSION"
-
Create a pull request and merge it after review.
After the change is merged into main, the release workflow will automatically build and push artifacts.
Once the automated workflow completes, the release will be available at https://github.com/cybozu-go/meows/releases.