From 56418e342e2779b3e5a191c96d5d96c162ddcb4e Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 22 Nov 2023 20:51:02 +0800 Subject: [PATCH] take into account VERSIONEER_REV in artiq._version.get_rev --- artiq/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/_version.py b/artiq/_version.py index 36de51339..56f8614c9 100644 --- a/artiq/_version.py +++ b/artiq/_version.py @@ -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")