Skip to content

Commit

Permalink
Run action on tags too
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Finnie committed Aug 5, 2024
1 parent ed8c1c9 commit dbc2c11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/distribute_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- dev
- feature/*
- bugfix/*
tags:
- 'v*.*.*'

pull_request:
branches:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit dbc2c11

Please sign in to comment.