Skip to content

Feature Request: Handle updates from -rcX to -rcX+1 in Update chart job #222

@viccuad

Description

@viccuad

Is there an existing issue for this?

  • I have searched the existing issues

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, from appVersion 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 to rc6), 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 in version and appVersion.

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 the catalog.cattle.io/auto-install will also be up-to-date. (e.g: )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions