Skip to content

Comments

fix: allow package versions with extended semversioning#406

Open
jlpedrosa wants to merge 1 commit intohelm:mainfrom
jlpedrosa:support_semversioning_enabled
Open

fix: allow package versions with extended semversioning#406
jlpedrosa wants to merge 1 commit intohelm:mainfrom
jlpedrosa:support_semversioning_enabled

Conversation

@jlpedrosa
Copy link

@jlpedrosa jlpedrosa commented May 8, 2024

It is reported that chart-releaser fails when the version number has some separator: helm/chart-releaser-action#56

When a tag has the + symbol ie: 2.0.0+Chart1, which is semver compliant see helm/chart-releaser-action#56.

When githubs return the download URL for the chart, it contains escape character %2B, but the actual filename is +Chart1. This causes the log/trace linked in the issue above.

This PR adds the filenameParameter to the addToIndexFile function. So instead of receiving the URL only, it receives the url and the correct filename for the asset, that later parts of the code will try to open.
Added test cases to validate this scenario.

Also this PR adds support for ssh url syntax for remotes, so it also can be executed locally.

Signed-off-by: jose <jose.pedrosa@reddit.com>
@kg-ops
Copy link

kg-ops commented May 24, 2024

Is there a plan to merge this PR to mainstream ?

@unguiculus
Copy link
Member

Can you fix conflicts, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants