From 05de446b91cd5714f32e413d7c26396947183fdf Mon Sep 17 00:00:00 2001 From: Crystian Date: Mon, 8 Jan 2024 21:32:36 +0100 Subject: [PATCH] automatic version --- .others/version.py | 6 +++--- __init__.py | 2 +- core/version.py | 2 +- version | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.others/version.py b/.others/version.py index e8e937a..50922f6 100644 --- a/.others/version.py +++ b/.others/version.py @@ -3,7 +3,7 @@ import os print("-- Setting up the version --") versionLabel = "@version:" -version_file = os.path.join(os.path.dirname(__file__), "version") +version_file = os.path.join(os.path.dirname(__file__), "../version") with open(version_file, "r") as f: version = f.read().strip() @@ -14,7 +14,7 @@ if version is None or version == "": print(f"Version to set: {version}") # modify the __init__.py file with @version -file1 = os.path.join(os.path.dirname(__file__), "__init__.py") +file1 = os.path.join(os.path.dirname(__file__), "../__init__.py") print(f"> File1: {file1}") file1VersionFound = False @@ -32,7 +32,7 @@ if not file1VersionFound: with open(file1, "w") as f2: f2.writelines(lines) -file2 = os.path.join(os.path.dirname(__file__), "core/version.py") +file2 = os.path.join(os.path.dirname(__file__), "../core/version.py") print(f"> File2 {file2}") with open(file2, "w") as f2: diff --git a/__init__.py b/__init__.py index 75fd933..c5b4455 100644 --- a/__init__.py +++ b/__init__.py @@ -2,7 +2,7 @@ @author: Crystian @title: Crystools @nickname: Crystools -@version: 1.4.0 +@version: 1.3.2 @project: "https://github.com/crystian/ComfyUI-Crystools", @description: Plugins for multiples uses, mainly for debugging, you need them! IG: https://www.instagram.com/crystian.ia """ diff --git a/core/version.py b/core/version.py index 9be5559..f8d25e0 100644 --- a/core/version.py +++ b/core/version.py @@ -1 +1 @@ -version = "1.4.sssssss0" +version = "1.3.2" diff --git a/version b/version index 6261a05..d5e98f7 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.3.1 \ No newline at end of file +1.3.2 \ No newline at end of file