From 7cd81922f52fe38e1ce4337748cf0b747ba0fb89 Mon Sep 17 00:00:00 2001 From: Artem Makarov <132329+artemy@users.noreply.github.com> Date: Wed, 4 Dec 2024 21:39:39 +0100 Subject: [PATCH] #21: trim `v` from version --- build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/build.py b/build.py index 5e6457d..a68f0a5 100644 --- a/build.py +++ b/build.py @@ -91,6 +91,7 @@ def build(): plist = plistlib.load(fp) version = sys.argv[1] if len(sys.argv) > 1 else "unknown" + version = re.sub(r'v(.*)', r'\1', version) # Modify plist # Get the UID of the runscript action in the template