diff --git a/CHANGELOG.md b/CHANGELOG.md index 296d3a2..a8bcd33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ This file documents any relevant changes. +## [1.0.3] 2023-04-18 +-fix: allow format 1.1.1 + ## [1.0.2] 2023-04-17 -fix: update project.json to format 1.1.1 diff --git a/src/viur_cli/conf.py b/src/viur_cli/conf.py index 7ae13a0..130a817 100644 --- a/src/viur_cli/conf.py +++ b/src/viur_cli/conf.py @@ -253,7 +253,7 @@ def add_npm_apps(): def update_config(path=None): assert projectConfig, "load_config() must be called first!" - assert projectConfig["default"]["format"] in ["1.0.0", "1.0.1", "1.1.0"], "Invalid formatversion, you have to fix it manually" + assert projectConfig["default"]["format"] in ["1.0.0", "1.0.1", "1.1.0", "1.1.1"], "Invalid formatversion, you have to fix it manually" if "format" not in projectConfig["default"]: projectConfig["default"]["format"] = "1.0.1" @@ -296,6 +296,7 @@ def update_config(path=None): if builds[k]["kind"] == "script": builds[k]["kind"] = "exec" projectConfig["default"]["builds"] = builds + # conf updates must increase format version write_config(projectConfig, path) diff --git a/src/viur_cli/version.py b/src/viur_cli/version.py index 7863915..976498a 100644 --- a/src/viur_cli/version.py +++ b/src/viur_cli/version.py @@ -1 +1 @@ -__version__ = "1.0.2" +__version__ = "1.0.3"