From 792d60c4b6e4c113d0988346bd55e94ad46cf4b0 Mon Sep 17 00:00:00 2001 From: Martin Wolf Date: Mon, 17 Jul 2023 14:59:35 +0200 Subject: [PATCH] Use full-revisonid if version is unknown --- doc/sphinx/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/sphinx/conf.py b/doc/sphinx/conf.py index 498b1cc7f6..c9eec24367 100644 --- a/doc/sphinx/conf.py +++ b/doc/sphinx/conf.py @@ -21,6 +21,9 @@ def get_skyllh_version(): import skyllh + if skyllh.__version__ == '0+unknown': + from skyllh import _version + return _version.get_versions()['full-revisionid'] return skyllh.__version__