Commit 9c718b6
committed
fix: Rework release publishing
The PyPI upload failed with:
Checking dist/reverse_argparse-2.0.8-py3-none-any.whl: PASSED
Checking dist/multiple.intoto.jsonl: ERROR InvalidDistribution:
Unknown distribution format:
'multiple.intoto.jsonl'
I suppose the provenance can't be included in the `dist` directory for
the PyPI upload, but it needs to be in there for python-semantic-release
publish to GitHub Releases action. This commit reorders things, such
that we publish to GitHub first, and save PyPI for last, and between the
two we remove the provenance from the `dist` directory. Hopefully this
works.1 parent 27cb67b commit 9c718b6
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | 102 | | |
106 | 103 | | |
107 | 104 | | |
108 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
0 commit comments