Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ignore tags that don't match the prefix #110

@isnok

Description

@isnok

Currently versioneer expects (all?) tags in the repository to match the given (tag_prefix).
If (the latest?) tag does not match that prefix, versioneer will not be able to derive a version.

I have a repo, in which i maintain mulltiple packages. This is waiting for a fix to #38 (dup: #109) anyway, but i noticed, that that won't be enough. I want to use separate tag prefixes for the different packages, but it seems like if i add a tag with a new prefix, the "previous" package does not get a version anymore, because it fails on the wrong prefix of the more recent tag.

Proposed fix: If a tag does not match tag_prefix, just ignore the 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