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

cr crashes as package version gets accidentially encoded #281

Open
michas2 opened this issue Apr 19, 2023 · 1 comment
Open

cr crashes as package version gets accidentially encoded #281

michas2 opened this issue Apr 19, 2023 · 1 comment

Comments

@michas2
Copy link

michas2 commented Apr 19, 2023

Packet versions follow semantic versioning, which allows adding build metadata to have versions like this: 3.11627+2e5eff15bf01

cr uses the name and the version to create files like this: cloudbees-core-3.11627+2e5eff15bf01.tgz

Then, in releaser.go it calls downloadURL.String() which will give the encoded representation like this: cloudbees-core-3.11627%2B2e5eff15bf01.tgz

Therefore the file will not be found and cr crashes.

Please stick with the unencoded filename there to avoid this.

@mway-niels
Copy link

We're running into the same problem.

Chart.yaml

version: "2.2.5+2"

relution-io/relution-kubernetes@98b89d4

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

No branches or pull requests

2 participants