Skip to content

Commit

Permalink
dev release v2.0.1-dev1
Browse files Browse the repository at this point in the history
  • Loading branch information
Grashalmbeisser committed May 6, 2024
1 parent 5f58658 commit ce5a724
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 38 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
19 changes: 0 additions & 19 deletions src/viur_cli/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"] = {}
Expand Down Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion src/viur_cli/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = "2.0.0"
__version__ = "2.0.1.dev1"
MINIMAL_PIPENV = "2023.11.15"

0 comments on commit ce5a724

Please sign in to comment.