-
Enhancement
-
Resolution: Done
-
Major
-
2.6.0.Alpha1
-
None
-
False
-
None
-
False
-
-
Version management is starting to be a bit all over the place for operator
The problem is that we now essentially have to handle 2-3 differently formatted versions in a single project
1) Maven project version
- there is regular X.Y.Z-SNAPSHOT
- However final release then switches to X.Y.Z.Final
2) Docker image versions
- our docker images respect maven versioning except for snapshots, where the tag becomes X.Y.Z-nightly
3) OLM (and soo Helm chart) versions
Strictly requires semantic versioning.
- For snapshot builds we use X.Y.Z-nightly (aligned with docker)
- For non snapshot builds we use X.Y.Z
Especially non snapshots are problematic as at the moment we are unable to differentiate between pre releases (such as Alpha1...) and Final
The proposal is for OLM/Helm to always generate a version including qualifier
- X.Y.Z-nightly (snapshot)
- X.Y.Z-Alpha1 (pre-releases)
- X.Y.Z-Final (final releases)
Previous final releases will stay published as they are – without the qualifier