[version] add __variant__

Specifies origin and OS of executable files.
For example 'stable/windows'.
This commit is contained in:
Mike Fährmann
2024-05-27 21:37:01 +02:00
parent 020050ea8b
commit 601f5becc8
5 changed files with 39 additions and 11 deletions

View File

@@ -127,7 +127,7 @@ def main():
extra = ""
if util.EXECUTABLE:
extra = " - Executable"
extra = " - Executable ({})".format(version.__variant__)
else:
git_head = util.git_head()
if git_head: