diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 34f1e1e..f115b75 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -35,24 +35,6 @@ jobs: name: buildfiles path: . - publishtest: - if: "!startsWith(github.ref, 'refs/tags/v')" - name: 📦 publish to TestPyPI - runs-on: ubuntu-latest - needs: [ build ] - - steps: - - uses: actions/download-artifact@master - with: - name: buildfiles - path: . - - - name: Publish distribution 📦 to Test PyPI - uses: pypa/gh-action-pypi-publish@master - with: - password: ${{ secrets.TEST_PYPI_API_TOKEN }} - repository_url: https://test.pypi.org/legacy/ - publish: if: "startsWith(github.ref, 'refs/tags/v')" name: 📦 publish to PyPI diff --git a/CHANGELOG.md b/CHANGELOG.md index 53af5f6..fb922ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog This file documents any relevant changes. +## [2.0.1-dev1] 2024-05-06 +- bugfix: removed project.json profile "core" validation throughout the project +- chore: bumped cryptography from 41.0.7 to 42.0.4 +- chore: Added hints to several commands +- chore: bumped idnafrom 3.6 to 3.7 ## [2.0.0] 2024-04-11: - chore: added deprecation warnings diff --git a/src/viur_cli/conf.py b/src/viur_cli/conf.py index d5004b6..9e1ec4c 100644 --- a/src/viur_cli/conf.py +++ b/src/viur_cli/conf.py @@ -154,17 +154,6 @@ def migrate(self): builds[k]["kind"] = "exec" self["default"]["builds"] = builds - # Version 1.2.0 - """ - Convert versions in the configuration to builds. - - This method iterates through the provided version list and updates the project configuration - by converting versions to builds. - - :param version_list: list - List of versions to convert to builds. - :return: None - """ # Check if Builds is in the project.json if "builds" not in self["default"].keys(): self["default"]["builds"] = {} @@ -200,14 +189,6 @@ def migrate(self): elif response == "no": self["default"]["builds"].pop("admin", None) echo_info("You are using the Vi Administration") - """ - Fetch the version of the 'viur-core' package. - - This method is responsible for fetching the version of the 'viur-core' package using 'pip list' and updating - the project configuration accordingly. - - :return: None - """ self.save() diff --git a/src/viur_cli/version.py b/src/viur_cli/version.py index 691d66b..75d2d5a 100644 --- a/src/viur_cli/version.py +++ b/src/viur_cli/version.py @@ -1,3 +1,3 @@ -__version__ = "2.0.0" +__version__ = "2.0.1.dev1" MINIMAL_PIPENV = "2023.11.15"