Skip to content

fix: upload dist artifact before signing for clean PyPI publish - #18

Merged
iracic82 merged 1 commit into
mainfrom
fix/pypi-dist-artifact
Feb 16, 2026
Merged

fix: upload dist artifact before signing for clean PyPI publish#18
iracic82 merged 1 commit into
mainfrom
fix/pypi-dist-artifact

Conversation

@iracic82

Copy link
Copy Markdown
Member

Summary

Move upload-artifact step to right after python -m build, before Cosign signing adds .sig and .pem files to dist/. The PyPI publish action only accepts valid Python distributions (.whl, .tar.gz) and fails on signature files.

What happened

The v0.6.3 release workflow failed at the PyPI publish step:

Checking dist/dns_aid-0.6.3-py3-none-any.whl.pem: ERROR InvalidDistribution: Unknown distribution format

Fix

Upload the dist artifact before signing, so only .whl and .tar.gz are included.

Signed-off-by: Igor Racic iracic82@gmail.com

…ublish

Move upload-artifact step to right after build, before Cosign signing
adds .sig and .pem files to dist/. The PyPI publish action only accepts
valid Python distributions (.whl, .tar.gz).

Signed-off-by: Igor Racic <iracic82@gmail.com>
@iracic82
iracic82 merged commit a325466 into main Feb 16, 2026
12 checks passed
@iracic82
iracic82 deleted the fix/pypi-dist-artifact branch February 16, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant