diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 6f627374..b3e9404b 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -91,6 +91,6 @@ jobs: - name: Publish scenarios [test pypi] if: github.ref == 'refs/heads/main' env: - PACKSE_PUBLISH_PASSWORD=: ${{ secrets.TEST_PYPI_API_TOKEN }} + PACKSE_PUBLISH_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }} run: | poetry run packse publish --skip-existing dist/* diff --git a/src/packse/publish.py b/src/packse/publish.py index f4f59807..f6209acb 100644 --- a/src/packse/publish.py +++ b/src/packse/publish.py @@ -118,7 +118,9 @@ def publish_package_distribution_with_retries( retry_time = retry_time * RETRY_BACKOFF_FACTOR attempts += 1 try: - publish_package_distribution(target, index_url, anonymous, dry_run) + publish_package_distribution( + target, index_url, anonymous=anonymous, dry_run=dry_run + ) except PublishAlreadyExists: if not skip_existing: raise