Before merging to main I believe we need to add a git tag for semver. Being rust, we need to also change the cargo file (there's a version in there). I believe the git tag and that file should be in sync.
If that's true then we probably want a script and a test which fails if we forget to update them both.
I think default to increasing the patch. I think we just decide what is major and minor otherwise.
- rust, cargo version
- git tag version
- helm chart version
Some projects have separate versions for helm and the code. It's a bit complicated. They even have different kinds of release (under GitHub releases). Maybe we keep it simple and the version is the same everywhere?
Lastly, add a paragraph somewhere so we don't forget. If this can be automated then that'd be super nice.
Before merging to
mainI believe we need to add a git tag for semver. Being rust, we need to also change the cargo file (there's a version in there). I believe the git tag and that file should be in sync.If that's true then we probably want a script and a test which fails if we forget to update them both.
I think default to increasing the patch. I think we just decide what is major and minor otherwise.
Some projects have separate versions for helm and the code. It's a bit complicated. They even have different kinds of release (under GitHub releases). Maybe we keep it simple and the version is the same everywhere?
Lastly, add a paragraph somewhere so we don't forget. If this can be automated then that'd be super nice.