Skip to content

Commit 602ddd8

Browse files
authored
Merge pull request #309 from bgilbert/attestation
workflows: omit `*.publish.attestation` files from release artifacts
2 parents d4c4f98 + e2c870c commit 602ddd8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/python.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,9 +310,11 @@ jobs:
310310
-e '/^## / {ok=1; next}' \
311311
-e 'ok {print}' \
312312
"openslide_python-$version/CHANGELOG.md" > changes
313+
# create release; upload artifacts but not *.publish.attestation
314+
# files created by gh-action-pypi-publish
313315
gh release create --latest --verify-tag \
314316
--repo "${{ github.repository }}" \
315317
--title "OpenSlide Python $version" \
316318
--notes-file changes \
317319
"${{ github.ref_name }}" \
318-
"${{ needs.pre-commit.outputs.dist-base }}/"*
320+
"${{ needs.pre-commit.outputs.dist-base }}/"*.{tar.gz,tar.xz,whl}

0 commit comments

Comments
 (0)