From 0b7a2ce138f95820e3847e75377e0dcf0574e40b Mon Sep 17 00:00:00 2001 From: Oscar Higgott Date: Tue, 25 Oct 2022 22:16:22 +0100 Subject: [PATCH] Bump version v2.0.0 --- .github/workflows/ci.yml | 2 +- src/pymatching/_version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 50b70f9e..625a55d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -250,7 +250,7 @@ jobs: name: Upload to pypi needs: [build_wheels, build_sdist] runs-on: ubuntu-latest - if: github.ref == 'refs/heads/master' + if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') steps: - uses: actions/setup-python@v4 with: diff --git a/src/pymatching/_version.py b/src/pymatching/_version.py index ad402ca8..77002d2c 100644 --- a/src/pymatching/_version.py +++ b/src/pymatching/_version.py @@ -1 +1 @@ -__version__ = "2.0.dev0" # pragma no cover +__version__ = "2.0.0" # pragma no cover