|
@ -13,7 +13,7 @@ def app_inject_revision(env): |
|
|
revision = env.get("ESPURNA_RELEASE_REVISION", "") |
|
|
revision = env.get("ESPURNA_RELEASE_REVISION", "") |
|
|
if not revision: |
|
|
if not revision: |
|
|
try: |
|
|
try: |
|
|
revision = git("rev-parse", "--short=8", "HEAD") |
|
|
|
|
|
|
|
|
revision = ".git" + git("rev-parse", "--short=8", "HEAD") |
|
|
except: # pylint: disable=broad-except |
|
|
except: # pylint: disable=broad-except |
|
|
pass |
|
|
pass |
|
|
|
|
|
|
|
|