- Update
io.kubewarden.policy.versionof the policy'smetadata.ymlversion to match the version to be released. - Make a PR in GitHub and add the label
TRIGGER-RELEASE.- If you don't want to add the changes to the changelog, add the label
release/skip-changelog.
- If you don't want to add the changes to the changelog, add the label
- Get an approval and merge the change.
- Ensure that you add the GitLab repository as an origin.
- Mirror the branches to GitLab with
git push --mirror --no-tags.- It's a good idea to have the main branch up-to-date before we add the tags. This is because we need to have an updated
.gitlab-ci.ymlto trigger release pipelines.
- It's a good idea to have the main branch up-to-date before we add the tags. This is because we need to have an updated
- Mirror the tags to GitLab with
git push --mirror.