From 2bb0e855b5aee5f901acecbb0022847b6edc36ca Mon Sep 17 00:00:00 2001 From: Anders Albert <60234212+doctrino@users.noreply.github.com> Date: Thu, 20 Jun 2024 10:50:31 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80Prepare=200.2.3=20(#678)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * build; bump * refactor: update migration * refactor; fix --- CHANGELOG.cdf-tk.md | 2 +- CHANGELOG.templates.md | 4 ++++ cognite_toolkit/_cdf_tk/_migration.yaml | 7 ++++++- cognite_toolkit/_system.yaml | 2 +- cognite_toolkit/_version.py | 2 +- module_upgrade/run_check.py | 2 +- pyproject.toml | 2 +- tests/tests_unit/data/project_for_test/_system.yaml | 2 +- .../data/project_no_cognite_modules/_system.yaml | 2 +- tests/tests_unit/data/run_data/_system.yaml | 2 +- 10 files changed, 18 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.cdf-tk.md b/CHANGELOG.cdf-tk.md index a8c287346..d8dd8cab7 100644 --- a/CHANGELOG.cdf-tk.md +++ b/CHANGELOG.cdf-tk.md @@ -15,7 +15,7 @@ Changes are grouped as follows: - `Fixed` for any bug fixes. - `Security` in case of vulnerabilities. -## TBD +## [0.2.3] - 2024-06-20 ### Improved diff --git a/CHANGELOG.templates.md b/CHANGELOG.templates.md index b2b16cfd8..b220e43c0 100644 --- a/CHANGELOG.templates.md +++ b/CHANGELOG.templates.md @@ -15,6 +15,10 @@ Changes are grouped as follows: - `Fixed` for any bug fixes. - `Security` in case of vulnerabilities. +## [0.2.3] - 2024-06-20 + +No changes to templates. + ## [0.2.2] - 2024-06-18 No changes to templates. diff --git a/cognite_toolkit/_cdf_tk/_migration.yaml b/cognite_toolkit/_cdf_tk/_migration.yaml index 392a41814..466d2c860 100644 --- a/cognite_toolkit/_cdf_tk/_migration.yaml +++ b/cognite_toolkit/_cdf_tk/_migration.yaml @@ -1,8 +1,13 @@ -- version: 0.2.2 +- version: 0.2.3 cognite_modules: {} resources: {} tool: {} cognite_modules_hash: "" +- version: 0.2.2 + cognite_modules: {} + resources: {} + tool: {} + cognite_modules_hash: "e3ef5a27540847e955f04c3dad4e296f5d6f646008a7a5490cddf81e79772c1d" - version: 0.2.1 cognite_modules: {} resources: {} diff --git a/cognite_toolkit/_system.yaml b/cognite_toolkit/_system.yaml index 2f0c2e9a3..edbf33728 100644 --- a/cognite_toolkit/_system.yaml +++ b/cognite_toolkit/_system.yaml @@ -25,4 +25,4 @@ packages: - example_pump_data_model # This part is used by cdf-toolkit to keep track of the version and help you upgrade. -cdf_toolkit_version: 0.2.2 \ No newline at end of file +cdf_toolkit_version: 0.2.3 \ No newline at end of file diff --git a/cognite_toolkit/_version.py b/cognite_toolkit/_version.py index 7977696f4..09fdb50f6 100644 --- a/cognite_toolkit/_version.py +++ b/cognite_toolkit/_version.py @@ -1 +1 @@ -__version__ = "0.2.2" +__version__ = "0.2.3" diff --git a/module_upgrade/run_check.py b/module_upgrade/run_check.py index 5dba0a2fa..37560841f 100644 --- a/module_upgrade/run_check.py +++ b/module_upgrade/run_check.py @@ -36,7 +36,7 @@ def run() -> None: versions = get_versions_since(SUPPORT_MODULE_UPGRADE_FROM_VERSION) for version in versions: create_project_init(str(version)) - return + print( Panel( "All projects inits created successfully.", diff --git a/pyproject.toml b/pyproject.toml index bf3a2756b..6c1bf83ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cognite_toolkit" -version = "0.2.2" +version = "0.2.3" description = "Official Cognite Data Fusion tool for project templates and configuration deployment" authors = ["Cognite AS "] license = "Apache-2" diff --git a/tests/tests_unit/data/project_for_test/_system.yaml b/tests/tests_unit/data/project_for_test/_system.yaml index bffdedf6e..f30a7e65a 100644 --- a/tests/tests_unit/data/project_for_test/_system.yaml +++ b/tests/tests_unit/data/project_for_test/_system.yaml @@ -4,4 +4,4 @@ packages: - child_module # This part is used by cdf-toolkit to keep track of the version and help you upgrade. -cdf_toolkit_version: 0.2.2 +cdf_toolkit_version: 0.2.3 diff --git a/tests/tests_unit/data/project_no_cognite_modules/_system.yaml b/tests/tests_unit/data/project_no_cognite_modules/_system.yaml index 4504ff1f0..b10cf2b0d 100644 --- a/tests/tests_unit/data/project_no_cognite_modules/_system.yaml +++ b/tests/tests_unit/data/project_no_cognite_modules/_system.yaml @@ -3,4 +3,4 @@ packages: {} # This part is used by cdf-toolkit to keep track of the version and help you upgrade. -cdf_toolkit_version: 0.2.2 +cdf_toolkit_version: 0.2.3 diff --git a/tests/tests_unit/data/run_data/_system.yaml b/tests/tests_unit/data/run_data/_system.yaml index e8b52203e..e7d3c04ac 100644 --- a/tests/tests_unit/data/run_data/_system.yaml +++ b/tests/tests_unit/data/run_data/_system.yaml @@ -25,4 +25,4 @@ packages: - example_pump_data_model # This part is used by cdf-toolkit to keep track of the version and help you upgrade. -cdf_toolkit_version: 0.2.2 +cdf_toolkit_version: 0.2.3