Skip to content

Stop overwriting appVersion with the git tag in release workflow - #21

Open
tylerpotts wants to merge 1 commit into
nebari-dev:mainfrom
tylerpotts:fix/appversion-clobber
Open

Stop overwriting appVersion with the git tag in release workflow#21
tylerpotts wants to merge 1 commit into
nebari-dev:mainfrom
tylerpotts:fix/appversion-clobber

Conversation

@tylerpotts

Copy link
Copy Markdown
Contributor

Problem

The release workflow's "Update Chart version" steps ran two seds on chart/Chart.yaml: one to set the chart version from the tag (correct), and one that overwrote appVersion with the git tag itself. As a result the published helm index at https://github.com/nebari-dev/helm-repository shows APP VERSION: v0.4.0 for the latest chart instead of the actual Superset version 6.1.0.

Fix

Remove the appVersion sed from both the publish-helm-chart and sync-helm-repository jobs so the real appVersion in chart/Chart.yaml flows through to the packaged chart and the helm repo index.

The corrected appVersion will show up in the index on the next release.

The release workflow replaced appVersion (the Superset version, e.g.
6.1.0) with the chart's git tag (e.g. v0.4.0), so the published helm
index showed the wrong app version. Keep only the chart version bump
and let Chart.yaml's real appVersion flow through.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant