Doc: Fix archive filenames for standard builds (#124826)

This commit is contained in:
Adam Turner 2024-10-01 10:43:55 +01:00 committed by GitHub
parent 4129a74a37
commit 91e64be731
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 3 deletions

View file

@ -74,4 +74,8 @@ def get_version_info():
if __name__ == "__main__":
print(format_version_info(get_header_version_info())[0])
short_ver, full_ver = format_version_info(get_header_version_info())
if sys.argv[1:2] == ["--short"]:
print(short_ver)
else:
print(full_ver)