Skip to content

Publish to crates.io through trusted publishing, and keep the Homebrew formula current - #41

Merged
lmarkmann merged 2 commits into
mainfrom
crates-io-trusted-publishing
Oct 7, 2026
Merged

lmarkmann merged 2 commits into
mainfrom
crates-io-trusted-publishing

Conversation

@lmarkmann

@lmarkmann lmarkmann commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

dataseek 0.8.0 is on crates.io and the crate trusts release-plz.yml in the crates-io environment.

  • .github/release-plz.toml drops git_only and publish = false; the release job runs in the crates-io environment with id-token: write, and release-plz exchanges the job's OIDC token for a short-lived publish token
  • A homebrew job in release.yml rewrites Formula/dataseek.rb in lmarkmann/homebrew-tap on every stable release, from the archives' checksums, through a release App token scoped to the tap. scripts/homebrew-formula.sh renders the formula; v0.8.0 is already in the tap
  • The README installs with brew install lmarkmann/tap/dataseek first

…rkmann/tap/dataseek installs dataseek and dsk with completions and the man page
@lmarkmann lmarkmann changed the title build: releases publish to crates.io through trusted publishing, with no registry token stored Publish to crates.io through trusted publishing, and keep the Homebrew formula current Oct 7, 2026
@lmarkmann
lmarkmann merged commit d22412d into main Oct 7, 2026
10 checks passed
@lmarkmann
lmarkmann deleted the crates-io-trusted-publishing branch October 7, 2026 17:59
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.

1 participant