Skip to content

Commit c18401f

Browse files
disallow tags without dot again
addresses #449, but the issue will stay open until tests for the regression are added
1 parent b98770f commit c18401f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
v4.1.2
2+
=======
3+
4+
* disallow git tags without dots by default again - #449
5+
16
v4.1.1
27
=======
38

src/setuptools_scm/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .win_py31_compat import samefile
1313

1414

15-
DEFAULT_DESCRIBE = "git describe --dirty --tags --long --match *[0-9]*"
15+
DEFAULT_DESCRIBE = "git describe --dirty --tags --long --match *.*"
1616

1717

1818
class GitWorkdir(object):

0 commit comments

Comments
 (0)