always provide artiq._version.get_rev

This commit is contained in:
Sebastien Bourdeauducq 2023-11-14 14:14:47 +08:00
parent e81e8f28cf
commit 77c6553725
1 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,7 @@
import os import os
def get_rev():
return "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")