You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Release page: add the wheels and the sdist to SHA256SUMS and the build-provenance attestation #1466
The GitHub release page carries the Python wheels and the sdist beside the CLI archives (v0.15.0's assets include seven .whl files and rvt-0.15.0.tar.gz), and docs/install.md promises them there. They are in neither SHA256SUMS nor the build-provenance attestation, which cover the CLI archives only, because release-binaries.yml builds the checksum list and the attestation subject from rvt-rs-* while its upload job attaches everything in dist/ (it downloads every artifact of the run, and when publish.yml calls it the run holds the wheel-* and sdist artifacts).
The PyPI copies are separate: the wheels on PyPI carry PEP 740 attestations from trusted publishing. Only the copies on the release page lack a checksum and an attestation.
Add them to the checksums and the attestation:
The checksums job downloads rvt-rs-* and runs sha256sum rvt-rs-*. It would also need the wheel-* and sdist artifacts, only when inputs.upload is true: a pull request or weekly run of release-binaries.yml has no wheels, and docker/stage.sh checks the Linux archives against SHA256SUMS with --ignore-missing, so it is unaffected by extra lines.
The upload job's actions/attest subject path would add the wheels and the sdist (dist/*.whl, dist/rvt-*.tar.gz), so that gh attestation verify <file> -R DrunkOnJava/rvt-rs works for each, and so that the one attested SHA256SUMS checks every file on the page.
docs/install.md and RELEASE.md stop saying the checksums and attestations cover the CLI archives only.
Not done in #1460 because the checksum job is the hardest job of a release to test before a real tag, and a mistake there leaves a half-published release. Test it on a branch with a workflow_dispatch of release-binaries.yml that has wheels to hand (or a staged release) before relying on it.
Activity
ci(release): the preflight refuses a tag on a commit CI skipped, its …
ci(release): a preflight job refuses a bad tag before any build, and …
ci(release): a skipped python job no longer skips the image, attest a…
docs(changelog): the release page's checksums and attestation cover t…
ci(release): the page check counts seven wheels, a final job fails a …
ci(release): the release page's wheels and sdist are in SHA256SUMS an…
chore(release): prepare v0.16.0 (#1564)