Skip to content

Commit 30aedbd

Browse files
committed
Apply workaround to make versioneer work on Appveyor
1 parent a599aa3 commit 30aedbd

File tree

3 files changed

+2
-38
lines changed

3 files changed

+2
-38
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ doc/_build
2323
doc/_doxybuild
2424
pygpu/*.c
2525
pygpu/*.h
26+
pygpu/version.py
2627
src/gpuarray/abi_version.h
2728
src/private_config.h
2829
Makefile.conf

pygpu/version.py

Lines changed: 0 additions & 36 deletions
This file was deleted.

versioneer.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,8 +1047,7 @@ def git_pieces_from_vcs(tag_prefix, root, verbose, run_command=run_command):
10471047
# if there is a tag matching tag_prefix, this yields TAG-NUM-gHEX[-dirty]
10481048
# if there isn't one, this yields HEX[-dirty] (no NUM)
10491049
describe_out, rc = run_command(GITS, ["describe", "--tags", "--dirty",
1050-
"--always", "--long",
1051-
"--match", "%s*" % tag_prefix],
1050+
"--always", "--long"],
10521051
cwd=root)
10531052
# --long was added in git-1.5.5
10541053
if describe_out is None:

0 commit comments

Comments
 (0)