Skip to content

feat: publish a signed packslip with each release - #1407

Merged
dsherret merged 3 commits into
mainfrom
packslip
Nov 16, 2026
Merged

dsherret merged 3 commits into
mainfrom
packslip

Conversation

@dsherret

@dsherret dsherret commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Closes #1406

Adds a packslip job to the CI workflow that runs on tags after build. It signs a packslip bundle (packslip.sigstore.json) describing every release zip, and draft_release attaches it to the draft release so users can eventually run packslip install github.com/dprint/dprint.

  • The action runs in its own job with only contents: read and id-token: write, so it never holds a token that can change the release. It hands the bundle to draft_release as a workflow artifact. Releases are immutable, so the bundle has to be in the draft before publishing.
  • attest: link points at the attestations draft_release already makes from SHASUMS256.txt instead of creating duplicates.
  • The Windows installer is left out because packslip installers want the zipped executable.
  • The release notes' Verification section shows packslip verify.

I checked packslip's file name parsing against all 19 zip names, and each maps to a distinct platform. The job only runs on tags, so the first real run will be the next release.

After the first release with the bundle, run packslip pin packslip.sigstore.json on it and publish the printed ps1_… fingerprint somewhere independent of releases, such as the install docs.

@dsherret
dsherret merged commit 7b0b0c2 into main Nov 16, 2026
5 checks passed
@dsherret
dsherret deleted the packslip branch November 16, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add jdx/packslip support for CLI releases

1 participant