diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 2c9a7e3f..59512497 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -28,12 +28,6 @@ jobs: - name: install run: pip install -U build - - name: check version - id: check-tag - uses: samuelcolvin/check-python-version@v4.1 - with: - version_file_path: pragma_sdk/__init__.py - - name: build run: python -m build @@ -42,3 +36,4 @@ jobs: with: repository-url: https://test.pypi.org/legacy/ password: ${{ secrets.PYPI_API_TOKEN }} + skip-existing: true diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6230be65..c89d0901 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,7 +22,7 @@ jobs: - name: check GITHUB_REF matches package version uses: samuelcolvin/check-python-version@v4.1 with: - version_file_path: pragma_sdk/__init__.py + version_file_path: pragma-sdk/pragma_sdk/__init__.py - run: uv build