Message ID | 20220602130324.337361-1-foss+yocto@0leil.net |
---|---|
State | Accepted |
Commit | 7466c0c37ac193fc3d089fadd426d8a802cd0650 |
Headers | show |
Series | docs: set_versions.py: check for first latest release tag | expand |
diff --git a/documentation/set_versions.py b/documentation/set_versions.py index 9049c1a68..a7ceb3455 100755 --- a/documentation/set_versions.py +++ b/documentation/set_versions.py @@ -86,7 +86,7 @@ docconfver = None # Test tags exist and inform the user to fetch if not try: - subprocess.run(["git", "show", "yocto-3.4.2"], capture_output=True, check=True) + subprocess.run(["git", "show", "yocto-%s" % release_series[activereleases[0]]], capture_output=True, check=True) except subprocess.CalledProcessError: sys.exit("Please run 'git fetch --tags' before building the documentation")