Skip to content

Commit 928efdc

Browse files
author
GitHub Action
committed
simplify
1 parent 1308d4c commit 928efdc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

.github/workflows/cd.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,8 @@ jobs:
3030
VERSION="${TAG_NO_PREFIX##*/}"
3131
# Save the path to the module and the version for use in the build/publish step to only update the module associated with this tag
3232
echo "PACKAGE_PATH=$PACKAGE_PATH" >> $GITHUB_ENV
33-
echo "VERSION=$VERSION" >> $GITHUB_ENV
3433
- name: Build & Publish to PyPi
3534
run: |
3635
pip install poetry
3736
cd $PACKAGE_PATH
38-
# replace version
39-
sed -i "s/^version =.*/version = \"${VERSION}\"/" pyproject.toml
4037
poetry publish --build --username="__token__" --no-interaction --password="${{ secrets.PYPI_TOKEN }}"

0 commit comments

Comments
 (0)