mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
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
|
||||
|
||||
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")
|
||||
|
Loading…
Reference in New Issue
Block a user