Skip to content
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

fix: allow package versions with extended semversioning #406

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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.

@kg-ops
Copy link

kg-ops commented May 24, 2024

Is there a plan to merge this PR to mainstream ?

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.

3 participants