diff options
-rwxr-xr-x | documentation/set_versions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/set_versions.py b/documentation/set_versions.py index 9049c1a680..a7ceb3455a 100755 --- a/documentation/set_versions.py +++ b/documentation/set_versions.py | |||
@@ -86,7 +86,7 @@ docconfver = None | |||
86 | 86 | ||
87 | # Test tags exist and inform the user to fetch if not | 87 | # Test tags exist and inform the user to fetch if not |
88 | try: | 88 | try: |
89 | subprocess.run(["git", "show", "yocto-3.4.2"], capture_output=True, check=True) | 89 | subprocess.run(["git", "show", "yocto-%s" % release_series[activereleases[0]]], capture_output=True, check=True) |
90 | except subprocess.CalledProcessError: | 90 | except subprocess.CalledProcessError: |
91 | sys.exit("Please run 'git fetch --tags' before building the documentation") | 91 | sys.exit("Please run 'git fetch --tags' before building the documentation") |
92 | 92 | ||