Skip to content

chart_version output displays the version previous to updating, not the newest version. #227

@agelogos

Description

@agelogos

When I update the version of my Helm Chart and trigger this action, the new version will correctly be uploaded and created as a release. The index.yaml will also be correct.

However, the chart_version output will contain the version BEFORE the update instead of the newest version.

Example:
When updating from 0.1.1 to 0.1.2 the logs from the release action will look like this:

Discovering changed charts since 'common-service-0.1.1'...

Packaging chart 'charts/common-service'...
Using config file:  ./.github/configs/cr.yaml
Successfully packaged chart in /home/runner/work/AiO-Helm-Charts/AiO-Helm-Charts/charts/common-service and saved it to: .cr-release-packages/common-service-0.1.2.tgz

Found common-service-0.1.2.tgz
Extracting chart metadata from .cr-release-packages/common-service-0.1.2.tgz
Calculating Hash for .cr-release-packages/common-service-0.1.2.tgz
Updating index ./index.yaml

But the outputs will look like this:

changed_charts: charts/common-service
chart_version: common-service-0.1.1

Is this intended or a bug?
And if it is intended, is there another way to get the new version of helm charts that were published?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions