The commit messages may follow the (conventional commits standard)[https://www.conventionalcommits.org/en/v1.0.0/]. For example:
type: free form subject
Where type
can be:
feat
: used by commits introducing a new featurefix
: used by commits fix an issueperf
: used by commits improving performancerefactor
: used by commits doing some code refactoring
Some examples:
feat: this is a new feature
fix: this is fixing a reported bug
It's also possible to specify a component if this commit targets one component specifically.
feat(resolver): this adds a new solver strategy
As usual, first bump the version in Cargo.toml
.
For creating a new release, first create a new tag:
$ TAG=vX.Y.Z make tag
Assuming your official kubewarden remote is called upstream
:
$ git push upstream vX.Y.Z
Check that the Github actions are properly executed and have no errors. With regards to the release, several automation tasks should have been started:
- Execute tests
- Create a new Github release
- Push a tagged container image with the build of the project
For a release to be complete, all these tasks should have been executed succesfully.
Now that the policy-server has a new tag released, consider bumping
the version in the kubewarden-defaults
helm-chart
.
Check out our global CONTRIBUTING guidelines for Rust code conventions