diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 424e4b0..bf5e152 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -43,7 +43,8 @@ jobs: name: pypi url: https://test.pypi.org/p/interbasepython permissions: - id-token: write + id-token: write + if: github.ref == 'refs/heads/main' steps: - uses: actions/download-artifact@v2 with: @@ -64,7 +65,7 @@ jobs: url: https://pypi.org/p/interbasepython permissions: id-token: write - if: startsWith(github.ref, 'refs/tags/v') + if: github.ref == 'refs/heads/main' && startsWith(github.ref, 'refs/tags/v') steps: - uses: actions/download-artifact@v2 with: @@ -72,4 +73,4 @@ jobs: path: dist - name: Publish package to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 + uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file diff --git a/PKG-INFO b/PKG-INFO index 0ed15e1..0beb2f6 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,5 +1,5 @@ Metadata-Version: 1.1 -Name: idb +Name: interbase Version: 1.5.0 Summary: InterBase RDBMS bindings for Python. Home-page: https://github.com/Embarcadero/InterBasePython diff --git a/setup.cfg b/setup.cfg index 689527d..5274824 100644 --- a/setup.cfg +++ b/setup.cfg @@ -9,7 +9,7 @@ all-files = True [metadata] -name = idb +name = interbase version = 1.5.0 description = InterBase RDBMS bindings for Python. long_description = file: README.md