forked from M-Labs/artiq
1
0
Fork 0

take into account VERSIONEER_REV in artiq._version.get_rev

This commit is contained in:
Sebastien Bourdeauducq 2023-11-22 20:51:02 +08:00
parent 77c6553725
commit 56418e342e
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
import os
def get_rev():
return "unknown"
return os.getenv("VERSIONEER_REV", default="unknown")
def get_version():
return os.getenv("VERSIONEER_OVERRIDE", default="8.0+unknown.beta")