Browse Source

pio: specify revision as prerelease

mcspr-patch-1
Maxim Prokhorov 3 years ago
parent
commit
071131260f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/scripts/espurna_utils/git.py

+ 1
- 1
code/scripts/espurna_utils/git.py View File

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


Loading…
Cancel
Save