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

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")