Skip to content

The regexp to recognise artifacts doesn't account for the build number #1369

@whatsthecraic

Description

@whatsthecraic

In

tarball_filename_match = match(r"^(?<name>[\w_]+)\.v(?<version>\d+\.\d+\.\d+)\.(?<platform_triplet>([^-]+-?)+).tar", tarball_filename)
, the reg-exp doesn't recognise artifacts with a build number, e.g. MyLibrary.v1.0.0+2.x86_64-linux-gnu-cxx11.tar.gz (the missing part is +2)

Hackaround:

    tarball_filename_match = match(r"^(?<name>[\w_]+)\.v(?<version>\d+\.\d+\.\d+)(\+\d+)?\.(?<platform_triplet>([^-]+-?)+).tar", tarball_filename)

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