Skip to content

Commit c039358

Browse files
authored
fix: cd pipeline (#218)
1 parent d838c8d commit c039358

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

core/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "stackit-core"
3-
version = "v0.0.1a5"
3+
version = "v0.0.1a6"
44
authors = ["STACKIT Developer Tools <[email protected]>"]
55
description = "Core functionality for the STACKIT SDK for Python"
66
readme = "README.md"

scripts/cd.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ for file in $(git diff --name-only HEAD~1..HEAD | grep pyproject.toml); do
1414
echo "Tag '$expected_tag' does not exist. Creating new tag to trigger release."
1515
git tag -a $expected_tag -m "Release $version"
1616
git push origin tag $expected_tag
17+
cd $dirpath
1718
poetry publish --build --username="__token__" --no-interaction --password="$PYPI_TOKEN"
19+
cd $GITHUB_WORKSPACE
1820
fi
1921
done

0 commit comments

Comments
 (0)