- Update Makefile variable
VERSION
to the appropiate release version. Allowed formats:- alpha:
VERSION ?= 0.12.1-alpha.1
- stable:
VERSION ?= 0.12.1
- alpha:
- If it is an alpha release, execute the following target to create appropiate
alpha
bundle files:
make prepare-alpha-release
- Then you can manually execute operator, bundle and catalog build/push targets.
make bundle-publish
make catalog-add-bundle-to-alpha
make catalog-publish
- If it is an stable release, execute the following target to create appropiate
alpha
andstable
bundle files:
make prepare-stable-release
-
Then open a Pull Request, and a GitHub Action will automatically detect if it is new release or not, in order to create it by building/pushing new operator and bundle images, as well as creating a GitHub release draft.
-
After the release of a stable version, you need to update the catalog. To do so execute the following targets:
make catalog-add-bundle-to-alpha && make catalog-add-bundle-to-stable
Then commit the changes and open a Pull Request. A GitHub action will pick up the change in the stable channel and build & push a new catalog image.