projects
/
mass-build.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix git version detection
[mass-build.git]
/
vcs.py
diff --git
a/vcs.py
b/vcs.py
index 14944788a5b7b2259fd7ae07618f16d7dc17e959..acb23e8b8cdb2a418d38e359bf766c8a3a5a2e10 100644
(file)
--- a/
vcs.py
+++ b/
vcs.py
@@
-90,8
+90,7
@@
class Git:
print()
def version(self):
print()
def version(self):
- repo = git.Repo(self.folder)
- v = repo.git.describe()
+ v = git.describe(split=False)
return v[len(get_non_digit_prefix(v)):] # remove the non-digit prefix from v (so that it starts with a number)
def checkVersions(self):
return v[len(get_non_digit_prefix(v)):] # remove the non-digit prefix from v (so that it starts with a number)
def checkVersions(self):