mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add the git tag to the compile (RIPD-238)
This commit is contained in:
committed by
Vinnie Falco
parent
50f9b68d61
commit
c841f8b360
@@ -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