forked from M-Labs/artiq
take into account VERSIONEER_REV in artiq._version.get_rev
This commit is contained in:
parent
77c6553725
commit
56418e342e
|
@ -1,7 +1,7 @@
|
||||||
import os
|
import os
|
||||||
|
|
||||||
def get_rev():
|
def get_rev():
|
||||||
return "unknown"
|
return os.getenv("VERSIONEER_REV", default="unknown")
|
||||||
|
|
||||||
def get_version():
|
def get_version():
|
||||||
return os.getenv("VERSIONEER_OVERRIDE", default="8.0+unknown.beta")
|
return os.getenv("VERSIONEER_OVERRIDE", default="8.0+unknown.beta")
|
||||||
|
|
Loading…
Reference in New Issue