File: 0001-Set-sphinx-release-to-same-value-as-version.patch

package info (click to toggle)
python-django-tree-queries 0.20-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 388 kB
  • sloc: python: 2,269; makefile: 26; sh: 6
file content (23 lines) | stat: -rw-r--r-- 708 bytes parent folder | download | duplicates (2)
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"
 
 #######################################