diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index faeeacdf..5aad6dda 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -7,6 +7,8 @@ on: - "*" tags: - "v*" + release: + types: [published] concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} @@ -101,7 +103,7 @@ jobs: dist_upload: runs-on: ubuntu-latest - if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') + if: (github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')) || (github.event_name == 'release' && github.event.action == 'published') permissions: id-token: write needs: [test] diff --git a/CHANGELOG.md b/CHANGELOG.md index ca407920..98dceeff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,7 @@ - fix #804: git - use fallback version instead of 0.0 when no version is found at all - fix #1139: use logging.lastResort instead of a own replica to avoid polluting logging._handlerList - fix #873: don't infer version in cli if --no-version is given +- fix #535: accept tags from a release action in the gh ui ## v8.3.1