Skip to content

Version inference is incorrect #683

@xiaopengli89

Description

@xiaopengli89

For example foo-1.2.3-x86_64-pc-windows-msvc.zip, package name will be inferred as foo-1.2.3-x86 and version will be inferred as 64, which is caused by regex pattern: "([a-zA-Z0-9_\\.-]+)[_-]v?(([0-9]+\\.)*[0-9]+[a-zA-Z0-9]*)", would it be better to replace ([a-zA-Z0-9_\\.-]+) with ([a-zA-Z0-9_-]+)?

Metadata

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