From 8a2024bc1c08af2526a99249676bd85c17f5be35 Mon Sep 17 00:00:00 2001 From: VAN BOSSUYT Nicolas Date: Sun, 22 Oct 2023 15:16:15 +0200 Subject: [PATCH] Release 0.5.4 --- cutekit/cmds.py | 2 +- cutekit/const.py | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/cutekit/cmds.py b/cutekit/cmds.py index 2e6fef1..4441bdb 100644 --- a/cutekit/cmds.py +++ b/cutekit/cmds.py @@ -188,7 +188,7 @@ cmds += [Cmd("h", "help", "Show this help message", helpCmd)] def versionCmd(args: Args): - print(f"CuteKit v{const.VERSION_STR}\n") + print(f"CuteKit v{const.VERSION_STR}") cmds += [Cmd("v", "version", "Show current version", versionCmd)] diff --git a/cutekit/const.py b/cutekit/const.py index a3dbec0..0b10e91 100644 --- a/cutekit/const.py +++ b/cutekit/const.py @@ -1,8 +1,8 @@ import os import sys -VERSION = (0, 6, 0, "dev") -VERSION_STR = f"{VERSION[0]}.{VERSION[1]}.{VERSION[2]}{'-' + VERSION[3] if VERSION[3] else ''}" +VERSION = (0, 5, 4) +VERSION_STR = f"{VERSION[0]}.{VERSION[1]}.{VERSION[2]}{'-' + VERSION[3] if len(VERSION) >= 4 else ''}" MODULE_DIR = os.path.dirname(os.path.realpath(__file__)) ARGV0 = os.path.basename(sys.argv[0]) PROJECT_CK_DIR = ".cutekit" @@ -16,5 +16,4 @@ TARGETS_DIR = os.path.join(META_DIR, "targets") DEFAULT_REPO_TEMPLATES = "cute-engineering/cutekit-templates" DESCRIPTION = "A build system and package manager for low-level software development" PROJECT_LOG_FILE = os.path.join(PROJECT_CK_DIR, "cutekit.log") -GLOBAL_LOG_FILE = os.path.join( - os.path.expanduser("~"), ".cutekit", "cutekit.log") +GLOBAL_LOG_FILE = os.path.join(os.path.expanduser("~"), ".cutekit", "cutekit.log")