Skip to content

Commit

Permalink
Fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
nivcertora committed Jan 9, 2025
1 parent 7c8106a commit 275a39d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
env:
POETRY_DYNAMIC_VERSIONING_BYPASS: ${{ github.ref_name }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -24,8 +26,6 @@ jobs:
poetry config pypi-token.testpypi ${{ secrets.TEST_PYPI_PASSWORD }}
- name: Publish to TestPyPI
env:
POETRY_DYNAMIC_VERSIONING_BYPASS: ${{ github.ref_name }}
run: |
echo ${{ github.ref_name }} and ${{ POETRY_DYNAMIC_VERSIONING_BYPASS }}
poetry publish --build --repository testpypi

0 comments on commit 275a39d

Please sign in to comment.