Commit a33e3cd
fix: disable attestations for Test PyPI to avoid conflict (#155)
- Disable attestations for Test PyPI publish step
- Keep attestations enabled for production PyPI
- Prevents "attestation files already exist" error when publishing to both
The pypa/gh-action-pypi-publish action creates attestation files (.publish.attestation)
during the first publish. When we try to publish to a second repository in the same
workflow run, it tries to create them again, causing a conflict.
Solution: Disable attestations for Test PyPI (validation only), enable for production.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <[email protected]>1 parent c476c3f commit a33e3cd
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| 87 | + | |
| 88 | + | |
0 commit comments