- Update Makefile variable
VERSION
to the appropiate release version:- alpha:
VERSION ?= v1.15.5-alpha.3
, for operator development before doing a final release - stable:
VERSION ?= v1.15.5
, once alpha releases have been tested successfully
- alpha:
IMPORTANT: VERSION
semver, must coincide with the original helm chart release,
because it's used to download the original helm chart
by the download-helm-chart
makefile target.
For alpha releases, the only the part before the -
is used to fetch the upstream chart release.
alpha releases are used to test new versions of the helm operator, when a new stable relase of the helm chart is published.
- 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 opetator, bundle and catalog build/push:
make container-build
make container-push
make bundle-publish
A real example of an alpha release can be found at release: 1.15.6-alpha.1 commit.
- Execute the following target to create appropiate
alpha
andstable
bundle files:
make prepare-stable-release
A real example of a stable release can be found at release: 1.15.5 commit.
- 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, bundle and catalog images, as well as creating a GitHub release draft.