kyma-project / kyma-environment-broker

Kyma Environment Broker
Apache License 2.0
0 stars 22 forks source link

Automatic Version Increments in Release Github Actions #1411

Open ralikio opened 1 week ago

ralikio commented 1 week ago

Currently, version number in our GA release are inputed by hand. This is prone to mistakes if we incremented minor version but after the release pipelines run we discover that it should have been major increment because of a feature PR. During a release Github Action (GA) invocation we are setting built release version as an input parameter. This parameter is then validated with pull requests (PR) included in this release and a previous release version. If the release contains a pr with kind/feature label then the minor part of the version number needs to be incremented in comparison to the previous release version. Otherwise, only a patch version is allowed to be changed. This behaviour can be changed to introduce automatic version increments based on PRs from the release.

AC