mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Add the git tag to the compile (RIPD-238)
This commit is contained in:
committed by
Vinnie Falco
parent
0857c6350d
commit
8b59a2f6b6
@@ -79,7 +79,10 @@ class Git(object):
|
||||
def __init__(self, env):
|
||||
self.exists = env.Detect('git')
|
||||
if self.exists:
|
||||
self.commit_id = _execute('git describe --tags')
|
||||
try:
|
||||
self.commit_id = _execute('git describe --tags')
|
||||
except:
|
||||
self.exists = False
|
||||
else:
|
||||
self.commit_id = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user