summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
Diffstat (limited to 'documentation')
-rwxr-xr-xdocumentation/set_versions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/set_versions.py b/documentation/set_versions.py
index b8dd4b1b90..be05ef323f 100755
--- a/documentation/set_versions.py
+++ b/documentation/set_versions.py
@@ -172,7 +172,7 @@ series = [k for k in release_series]
172previousseries = series[series.index(ourseries)+1:] or [""] 172previousseries = series[series.index(ourseries)+1:] or [""]
173lastlts = [k for k in previousseries if k in ltsseries] or "dunfell" 173lastlts = [k for k in previousseries if k in ltsseries] or "dunfell"
174 174
175latestreltag = subprocess.run(["git", "describe", "--abbrev=0", "--tags", "--match", "yocto-*"], capture_output=True, text=True).stdout 175latestreltag = subprocess.run(["git", "describe", "--abbrev=0", "--tags", "--match", "yocto-*"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True).stdout
176latestreltag = latestreltag.strip() 176latestreltag = latestreltag.strip()
177if latestreltag: 177if latestreltag:
178 if latestreltag.startswith("yocto-"): 178 if latestreltag.startswith("yocto-"):