Skip to content

Commit 3cf0281

Browse files
committed
Ignore Debian package tags for PyPi versioning
1 parent d7ae438 commit 3cf0281

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎git_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#----------------------------------------------------------------------------
1515
def call_git_describe(abbrev=4):
1616
try:
17-
p = Popen(['git', 'describe', '--abbrev=%d' % abbrev],
17+
p = Popen(['git', 'describe', '--exclude', 'ev3dev-*', '--abbrev=%d' % abbrev],
1818
stdout=PIPE, stderr=PIPE)
1919
p.stderr.close()
2020
line = p.stdout.readlines()[0]

0 commit comments

Comments
 (0)