From dbc2c110559c4f69289ba5cbe9f479a3b700c5ea Mon Sep 17 00:00:00 2001 From: Thomas Finnie Date: Mon, 5 Aug 2024 23:42:55 +0100 Subject: [PATCH] Run action on tags too --- .github/workflows/distribute_package.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/distribute_package.yml b/.github/workflows/distribute_package.yml index 7fef265..7473704 100644 --- a/.github/workflows/distribute_package.yml +++ b/.github/workflows/distribute_package.yml @@ -7,6 +7,8 @@ on: - dev - feature/* - bugfix/* + tags: + - 'v*.*.*' pull_request: branches: @@ -83,6 +85,7 @@ jobs: CIBW_TEST_COMMAND: python -W default -m unittest discover --start-directory {project}/tests # setuptools_scm workaround for https://github.com/pypa/setuptools_scm/issues/455 CIBW_BEFORE_BUILD: ${{ github.ref == 'refs/heads/dev' && 'echo ''local_scheme = "no-local-version"'' >> pyproject.toml && git diff --color=always && git update-index --assume-unchanged pyproject.toml' || '' }} + - name: Build and test the wheels if: matrix.os == 'windows-latest' run: python -m cibuildwheel --output-dir wheelhouse