For installation and common tasks, see the CLI overview. This reference is generated from development CLI help; run packslip create --help for your installed version.

packslip create

Create and sign a packslip for a release

Hash local artifacts, infer platforms and formats from file names, and write the signed bundle (packslip.sigstore.json, or a per-tool name for a GitHub monorepo tool; see –out) into the –out directory. Use –manifest for per-artifact paths, formats, requirements, and scoped resources. No files are uploaded.

By default, create signs keyless with an OIDC token: the one in SIGSTORE_ID_TOKEN when it is set, or else the CI job’s own identity, which on GitHub Actions needs the id-token: write permission. Pass –key to sign with a key from packslip keygen instead. Either way, the signature is recorded in the Rekor transparency log. With –key, –no-log skips the log entry, and consumers must then accept the release with –allow-unlogged.

The TOML manifest and more examples: https://packslip.dev/docs/describing-releases/

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 a TOML manifest

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