diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7e7fd55..fd539bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,6 +29,7 @@ jobs: - build runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/') # only publish to TestPyPI on tag pushes environment: name: release url: https://test.pypi.org/p/clusttraj @@ -98,6 +99,6 @@ jobs: # `dist/` contains the built packages, and the # sigstore-produced signatures and certificates. run: >- - gh release upload + gh release create '${{ github.ref_name }}' dist/** --repo '${{ github.repository }}' diff --git a/clusttraj/__init__.py b/clusttraj/__init__.py index 9ef4758..dbab531 100644 --- a/clusttraj/__init__.py +++ b/clusttraj/__init__.py @@ -1,6 +1,6 @@ from .main import main -__version__ = "0.1.1" +__version__ = "0.1.2" __all__ = [ "main",