diff --git a/core/pyproject.toml b/core/pyproject.toml index efe3b32f9..2df0cd76c 100644 --- a/core/pyproject.toml +++ b/core/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "stackit-core" -version = "v0.0.1a5" +version = "v0.0.1a6" authors = ["STACKIT Developer Tools "] description = "Core functionality for the STACKIT SDK for Python" readme = "README.md" diff --git a/scripts/cd.sh b/scripts/cd.sh index 6daaef624..06fe06e6d 100755 --- a/scripts/cd.sh +++ b/scripts/cd.sh @@ -14,6 +14,8 @@ for file in $(git diff --name-only HEAD~1..HEAD | grep pyproject.toml); do echo "Tag '$expected_tag' does not exist. Creating new tag to trigger release." git tag -a $expected_tag -m "Release $version" git push origin tag $expected_tag + cd $dirpath poetry publish --build --username="__token__" --no-interaction --password="$PYPI_TOKEN" + cd $GITHUB_WORKSPACE fi done