take into account VERSIONEER_REV in artiq._version.get_rev

pull/2292/head
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")