From 22f192a98f1ff61b3202c8a38c0f0a17273b38c2 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 21 Aug 2024 16:11:33 +0700 Subject: [PATCH] derp: fix syntax --- html5/js/Utilities.js | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/html5/js/Utilities.js b/html5/js/Utilities.js index 31d137a2..e54a5a0b 100644 --- a/html5/js/Utilities.js +++ b/html5/js/Utilities.js @@ -8,8 +8,8 @@ */ const Utilities = { - VERSION: "15", - REVISION : 1604, + VERSION : "15", + REVISION : 0, LOCAL_MODIFICATIONS: 0, BRANCH: "master", diff --git a/setup.py b/setup.py index 44f523d8..e9dba578 100755 --- a/setup.py +++ b/setup.py @@ -404,7 +404,7 @@ def set_version(new_version: str) -> None: "%define release .*": f"%define release 1.r{revision}%{{?dist}}", }, "./html5/js/Utilities.js": { - fr'VERSION\s*: "{VERSION}"': f'VERSION = "{new_version}"', + fr'VERSION\s*: "{VERSION}"': f'VERSION : "{new_version}"', fr"REVISION\s*: [0-9]*": f"REVISION : {revision}", r'LOCAL_MODIFICATIONS\s*: [0-9]*': f'LOCAL_MODIFICATIONS: {local_modifications}', r'BRANCH\s*: "[a-zA-Z]*"': f'BRANCH: "{branch}"',