Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Tag prefix broken on Windows with versioneer 0.21 #273

Copy link
Copy link
@jenshnielsen

Description

@jenshnielsen
Issue body actions

#262 contains a fix for handling * on windows unfortunately this breaks detecting the correct version for me.

In our repository https://github.com/qcodes/qcodes all tags are prefixed with v and we have tag_prefix = v this used to work fine however with the latest release of versioneer we get versions reported as unknown + x

Looking at the generated git describe command we see

git describe --tags --always --long --dirty --match v*
v0.29.0-288-g9f93a1286
git describe --tags --always --long --dirty --match v\*
9f93a1286
git describe --tags --always --long --dirty --match v\\*
9f93a1286

so it would seem like the escape of * does not always work correctly.
removing the escaped prefix for windows restores normal functionality for us

Reactions are currently unavailable

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.