Skip to content

Commit d838c8d

Browse files
authored
fix: cd pipeline (#216)
1 parent 7369d8a commit d838c8d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/cd.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- name: Push tag for each updated package
2020
env:
2121
GH_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
22+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
2223
run: |
2324
git config --global user.name "SDK Releaser Bot"
2425
git config --global user.email "[email protected]"

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.1a4"
3+
version = "v0.0.1a5"
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ 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-
poetry publish --build --username="__token__" --no-interaction --password="${{ secrets.PYPI_TOKEN }}"
17+
poetry publish --build --username="__token__" --no-interaction --password="$PYPI_TOKEN"
1818
fi
1919
done

0 commit comments

Comments
 (0)