ci: publish accepted releases to PyPI in one click
This commit is contained in:
1 parent
5f1df63d4e
commit
0dc8679edc
6 files changed
+142
-160
No files matched your search
@@ -2,7 +2,7 @@ name: Validate published release for PyPI
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [released]
|
||||
types: [published]
|
||||
|
||||
permissions: {}
|
||||
|
||||
@@ -19,4 +19,4 @@ jobs:
|
||||
run: |
|
||||
set -euo pipefail
|
||||
[[ "$RELEASE_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]] || { echo 'Expected a final vX.Y.Z tag.' >&2; exit 1; }
|
||||
echo 'The protected main-branch publisher will check this release and request approval.' >> "$GITHUB_STEP_SUMMARY"
|
||||
echo 'The main-branch publisher will match the release to its accepted candidate before uploading.' >> "$GITHUB_STEP_SUMMARY"
|
||||
Reference in new issue
Block a user