Skip to content

DynVer allows Invalid but Matching Tags #92

@apeschel

Description

@apeschel

It seems like dynver is trying to produce a valid SemVer version as its version, but at the moment, the tag parser is a bit too flexible in what it allows:

Non SemVer tags

Input:
v123456
Expected Result:
Error or ignore tag
Actual Result:
version = 123456

Input:
v1.2.3.4
Expected Result:
Error or ignore tag
Actual Result:
version = 1.2.3.4

Input:
v1_this_really_shouldn't_be_a_valid_dynver_tag_@&%
Expected Result:
Error or ignore tag
Actual Result:
version = 1_this_really_shouldn't_be_a_valid_dynver_tag_@&%

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