Skip to content

cr crashes as package version gets accidentially encoded #281

Open
@michas2

Description

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.

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