We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1308d4c commit 928efdcCopy full SHA for 928efdc
.github/workflows/cd.yaml
@@ -30,11 +30,8 @@ jobs:
30
VERSION="${TAG_NO_PREFIX##*/}"
31
# 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
32
echo "PACKAGE_PATH=$PACKAGE_PATH" >> $GITHUB_ENV
33
- echo "VERSION=$VERSION" >> $GITHUB_ENV
34
- name: Build & Publish to PyPi
35
run: |
36
pip install poetry
37
cd $PACKAGE_PATH
38
- # replace version
39
- sed -i "s/^version =.*/version = \"${VERSION}\"/" pyproject.toml
40
poetry publish --build --username="__token__" --no-interaction --password="${{ secrets.PYPI_TOKEN }}"
0 commit comments