Debian Codegraph @

debian/patches/set-documentation-version-as-patch-not-build-edit.patch

raw symbols SCIP
1 From: Ahmad Khalifa <[email protected]>
2 Date: Fri, 15 Nov 2024 14:17:10 +0000
3 Forwarded: not-needed
4 Subject: [PATCH] Set Documentation version as patch, not build edit
5
6 ---
7 Documentation/conf.py | 5 ++++-
8 1 file changed, 4 insertions(+), 1 deletion(-)
9
10 --- a/Documentation/conf.py
11 +++ b/Documentation/conf.py
12 @@ -7,12 +7,14 @@
13 # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
14
15 import subprocess
16 +import os
17
18 project = 'coreboot'
19 copyright = 'CC-by 4.0 the coreboot project'
20 author = 'the coreboot project'
21
22 -release = subprocess.check_output(('git', 'describe')).decode("utf-8")
23 +# release = subprocess.check_output(('git', 'describe')).decode("utf-8")
24 +release = os.environ['DEB_VERSION']
25 # The short X.Y version.
26 version = release.split("-")[0]
27