Skip to content

Commit 87466ef

Browse files
Merge pull request #1169 from RonnyPfannschmidt/fix-535-release-from-gh-release
accept tags from the ui release action for dist uploads
2 parents 01660ba + 8959801 commit 87466ef

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/python-tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
- "*"
88
tags:
99
- "v*"
10+
release:
11+
types: [published]
1012

1113
concurrency:
1214
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
@@ -101,7 +103,7 @@ jobs:
101103
dist_upload:
102104

103105
runs-on: ubuntu-latest
104-
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
106+
if: (github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')) || (github.event_name == 'release' && github.event.action == 'published')
105107
permissions:
106108
id-token: write
107109
needs: [test]

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
- fix #804: git - use fallback version instead of 0.0 when no version is found at all
4242
- fix #1139: use logging.lastResort instead of a own replica to avoid polluting logging._handlerList
4343
- fix #873: don't infer version in cli if --no-version is given
44+
- fix #535: accept tags from a release action in the gh ui
4445

4546
## v8.3.1
4647

0 commit comments

Comments
 (0)