Verify a release
Each release is built once from a tagged commit and published without being rebuilt. Check what you download against that build before deploying it.
Release archives
The GitHub release carries the
native archives, SHA256SUMS, the CycloneDX SBOMs including the node’s
leani.cdx.json, and the THIRD_PARTY_LICENSES.txt dependency notices. Check a
downloaded archive against the checksum list and its build provenance:
sha256sum --check --ignore-missing SHA256SUMSgh attestation verify leani-v0.1.0-x86_64-unknown-linux-gnu.tar.gz --repo smart-byte/leaniThe attestation names the release tag, its commit, and the publication run, which checked that the archive came from a successful preparation run of that commit.
Container images
Pin a release’s image digest for deployment. The publication job attests the multiarchitecture image and each architecture’s image. It binds each architecture’s CycloneDX SBOM to that image’s digest instead of attaching it to the GitHub release, so the SBOM can be verified against the exact image. The attestations are stored with the images in GHCR as well:
gh attestation verify oci://ghcr.io/smart-byte/leani:v0.1.0 --repo smart-byte/leanigh attestation verify oci://ghcr.io/smart-byte/leani@sha256:<amd64-digest> --repo smart-byte/leanigh attestation verify oci://ghcr.io/smart-byte/leani@sha256:<amd64-digest> \ --repo smart-byte/leani --predicate-type https://cyclonedx.org/bomPackages
@smart-byte/leani-sdk is published to npm with provenance from the
repository’s sdk-release.yml workflow; npm audit signatures checks it in a
project that installed it. The four Rust authoring libraries are published to
crates.io through trusted publishing from crates-release.yml.
Release channels
Prerelease versions are marked as GitHub prereleases and do not replace the
latest stable release. Until the first stable release, each SDK prerelease
takes npm’s latest tag, so an unversioned install resolves to the newest
prerelease. From the first stable release on, stable versions take latest
and prereleases take next. The Homebrew formula follows the same rule: the
release coordinator opens a reviewed tap PR once a release’s archives are
public.
Built by Smart-Byte · Legal notice (Impressum) · Privacy