1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: Michael Fladischer <FladischerMichael@fladi.at>
Date: Sun, 12 Nov 2023 15:50:14 +0000
Subject: Set sphinx release to same value as version.
---
docs/conf.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/docs/conf.py b/docs/conf.py
index 546bd59..979fd64 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -11,9 +11,7 @@ project = "django-tree-queries"
author = "Feinheit AG"
copyright = f"2018-{date.today().year}, {author}" # noqa: A001
version = __import__("tree_queries").__version__
-release = subprocess.check_output(
- "git fetch --tags; git describe", shell=True, text=True
-).strip()
+release = version
language = "en"
#######################################
|