Previously we used to release a new chart on each rocket.chat release.
This caused us to even release older patch/minors, for example if latest rc tag is 6.3.2, chart is also 6.3.2, but, if in the middle there is another rc release, 6.2.12 for example, a new chart with the same version will also be released.
This wasn't a problem as rocketchat release process took care of any conflicts, eol timings etc.
But caused the problem of not being able to quickly ship only chart patches as they come, we'd have to wait for the next rc release to get them shpped. Not to mention the non-linear chart version-patch relation.
This pr
The pr here, lets us automatically handle chart versions and app versions independent of each other.
On automatic line - if current incoming rc version is less than what is released today, it will be dropped, as in no new chart release will be created for that. Any user can set the tag manually for that case.
On automatic line - if incoming rc version has a patch bump, chart version will also get a patch bump, same for minor, major. Sequence of these events will be taken care of by the main rc release process.
A new manual workflow is added, with which a new chart release can be made any time, either provide rc version, or chart version or both. OR neither. If chart version is not specified, an automatic patch bump will be made.
Previously we used to release a new chart on each rocket.chat release.
This caused us to even release older patch/minors, for example if latest rc tag is 6.3.2, chart is also 6.3.2, but, if in the middle there is another rc release, 6.2.12 for example, a new chart with the same version will also be released.
This wasn't a problem as rocketchat release process took care of any conflicts, eol timings etc.
But caused the problem of not being able to quickly ship only chart patches as they come, we'd have to wait for the next rc release to get them shpped. Not to mention the non-linear chart version-patch relation.
This pr
The pr here, lets us automatically handle chart versions and app versions independent of each other.
And, here is a fun animal picture