The CLI reference lists the commands by task. This page is generated from the development branch's help; run packslip create --help for the options your installed version supports.

packslip create

Create and sign the release bundle for a release

Hash local artifacts, infer each one's platform and format from its file name, and write the signed bundle into the --out directory. No files are uploaded. A release.toml passed with --manifest describes per-artifact executables, formats, requirements, and resources. Scalar flags, such as --project, --version, --url-base, and --source-repo, override its release-level values. --bin, --resource, --require, and --provenance add to its values. A file given as an argument that release.toml also lists keeps its release.toml entry.

Signing is keyless by default, with the OIDC token in SIGSTORE_ID_TOKEN or else the CI job's own identity, which on GitHub Actions needs the id-token: write permission. --key signs with a key from packslip keygen instead. Every signature is recorded in the Rekor transparency log unless --no-log is passed with --key.

See https://packslip.dev/docs/describing-releases/ for release.toml and more examples.

Arguments

Flags

Input

Signing

Output

Download URLs

Artifacts

Source

Release metadata

Resources

Repackagers

Examples

Sign keyless in a CI job

packslip create \
        --project github.com/owner/mytool \
        --version 1.2.3 \
        --bin mytool \
        --url-base https://github.com/owner/mytool/releases/download/v1.2.3 \
        --out dist \
        dist/mytool-1.2.3-linux-x64.tar.gz \
        dist/mytool-1.2.3-darwin-arm64.tar.gz

Describe the artifacts in release.toml

packslip create --manifest release.toml --out dist

Sign with a key from packslip keygen

packslip create \
        --project mytool.example.com \
        --version 1.2.3 \
        --bin mytool \
        --url-base https://mytool.example.com/v1.2.3 \
        --key release.key \
        --out dist \
        dist/mytool-1.2.3-linux-x64.tar.gz