Skip to content

Commit

Permalink
Prepare 0.2.0 (#632)
Browse files Browse the repository at this point in the history
* refactor: upgrade migration

* build; bump

* build: poetry lock
  • Loading branch information
doctrino authored Jun 10, 2024
1 parent 5acdd22 commit 641307a
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 25 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.cdf-tk.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Changes are grouped as follows:
- `Fixed` for any bug fixes.
- `Security` in case of vulnerabilities.

## TBD
## [0.2.0] - 2024-06-10

### Fixed

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ Changes are grouped as follows:
- `Fixed` for any bug fixes.
- `Security` in case of vulnerabilities.

## [0.2.0] - 2024-06-10

No changes to templates.

## [0.2.0b4] - 2024-06-06

### Added
Expand Down
7 changes: 6 additions & 1 deletion cognite_toolkit/_cdf_tk/_migration.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
- version: 0.2.0b4
- version: 0.2.0
cognite_modules: {}
resources: {}
tool: {}
cognite_modules_hash: ""
- version: 0.2.0b4
cognite_modules: {}
resources: {}
tool: {}
cognite_modules_hash: "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
- version: 0.2.0b3
cognite_modules: {}
resources: {}
Expand Down
2 changes: 1 addition & 1 deletion cognite_toolkit/_system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.0b4
cdf_toolkit_version: 0.2.0
2 changes: 1 addition & 1 deletion cognite_toolkit/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.0b4"
__version__ = "0.2.0"
13 changes: 0 additions & 13 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cognite_toolkit"
version = "0.2.0b4"
version = "0.2.0"
description = "Official Cognite Data Fusion tool for project templates and configuration deployment"
authors = ["Cognite AS <[email protected]>"]
license = "Apache-2"
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_unit/data/project_for_test/_system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.0b4
cdf_toolkit_version: 0.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -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.0b4
cdf_toolkit_version: 0.2.0
2 changes: 1 addition & 1 deletion tests/tests_unit/data/run_data/_system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.0b4
cdf_toolkit_version: 0.2.0
5 changes: 1 addition & 4 deletions tests_migrations/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
TEST_DIR_ROOT = Path(__file__).resolve().parent

SUPPORTED_TOOLKIT_VERSIONS = [
"0.1.0",
"0.1.1",
"0.1.2",
"0.1.3",
"0.2.0a1",
"0.2.0a2",
"0.2.0a3",
Expand All @@ -18,6 +14,7 @@
"0.2.0b1",
"0.2.0b2",
"0.2.0b3",
"0.2.0b4",
]


Expand Down

0 comments on commit 641307a

Please sign in to comment.