From 7e7566e295fbff82e6536e0dc7efa8ffd2ddb6d7 Mon Sep 17 00:00:00 2001 From: Lukas Prediger Date: Thu, 1 Dec 2022 18:10:46 +0200 Subject: [PATCH] Fix to version number extension format. --- twinify/version.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/twinify/version.py b/twinify/version.py index 6403ac2..0db430c 100644 --- a/twinify/version.py +++ b/twinify/version.py @@ -18,4 +18,6 @@ PATCH_VERSION = 0 EXT_VERSION = "" -VERSION = f"{MAJOR_VERSION}.{MINOR_VERSION}.{PATCH_VERSION}-{EXT_VERSION}" +EXT_VERSION_SUFFIX = f"-{EXT_VERSION}" if len(EXT_VERSION) > 0 else "" + +VERSION = f"{MAJOR_VERSION}.{MINOR_VERSION}.{PATCH_VERSION}{EXT_VERSION_SUFFIX}"