-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Handle updates from -rcX
to -rcX+1
in Update chart job
#222
Comments
version
and appVersion
for updates from -rcX
to -rcX+1
-rcX
to -rcX+1
in Update chart job
Just reproduced this in #404, With everything tagged as |
This seems to now be fixed. For the update of 1.12.0-rc1 to 1.12.0-rc2, the automation wrongly reused an already existing PR: Closed that PR manually, and retriggered the automation with workflow_dispatch, version |
This isn't fixed, as it just happened from v1.15.0-rc1 to v1.15.0-rc2. |
I think I found the culprit. When updating from This is because the updatecli config that we use is the same for major, minor and prerelease, and does an increment on the updatecli source here:
Note that this is for config A simple fix would be to add 2 new configs:
|
Is there an existing issue for this?
Current Behavior
On PR #220,
With job https://github.com/kubewarden/helm-charts/actions/runs/4692840686,
Which is a new release for
appVersion
1.6.0-rc6
, fromappVersion
1.6.0-rc5
,The automation incorrectly bumped the minor
version
of the charts.This may be because the automation doesn't know that we are updating from an RC (
rc5
torc6
), so then it bumps the minor version.The automation incorrectly left
appVersion
of 1 chart without bumping. This may be because that chart didn't have new changes. (E.g: 79c35db).Expected Behavior
The automation should only bump the
rc
suffix inversion
andappVersion
.In addition, the automation should also bump the
rc
suffix even for those charts that don't contain new changes, so all charts have the same suffix (e.g:-rc6
). This means that all thecatalog.cattle.io/auto-install
will also be up-to-date. (e.g: )The text was updated successfully, but these errors were encountered: