Skip to content

feat: install caddy with lodo through the Homebrew tap - #25

Merged
sangdth merged 1 commit into
masterfrom
feat/homebrew-formula-2011
Nov 21, 2026
Merged

sangdth merged 1 commit into
masterfrom
feat/homebrew-formula-2011

Conversation

@sangdth

@sangdth sangdth commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • brew install sangdth/tap/lodo now installs dnsmasq and caddy too: the tap formula declares both as
    dependencies, so users never install Go or the prerequisites by hand.
  • The tap step no longer checks secrets.HOMEBREW_TAP_TOKEN in its if. secrets is not available there, so that
    condition made the release workflow invalid; the check now runs inside the step's script and skips it when the token
    is unset.
  • docs/plan.md: drop the "no Homebrew tap yet" item the tap made stale.

origin/master's Rust port replaced the Go tree while this branch was open, so the merge resolved every Go-side
conflict in master's favor and re-applied the install delta on top. The diff against master is now three files.

Testing

  • cargo fmt --all -- --check (clean)
  • ruby -c on the formula rendered from the workflow (Syntax OK)
  • bash -n on the tap step, and a YAML parse of release.yml
  • cargo clippy and cargo test not re-run: no Rust source differs from master; only release.yml, README.md
    and docs/plan.md change

Before the first tag

  • Create sangdth/homebrew-tap (with a README, so it has a branch) and add a PAT with write access to it as the
    HOMEBREW_TAP_TOKEN secret.

@sangdth sangdth changed the title Add Homebrew release workflow and remove lodo update feat: install caddy with lodo through the Homebrew tap Nov 21, 2026
Homebrew now pulls caddy with the formula instead of telling users to install
it for names with a port, so `brew install sangdth/tap/lodo` is the only step
they run.

The tap step also checks HOMEBREW_TAP_TOKEN inside its script: `secrets` is not
available in a step's `if`, so that condition made the whole workflow invalid.

docs/plan.md drops the "no Homebrew tap yet" item the tap made stale.
@sangdth
sangdth force-pushed the feat/homebrew-formula-2011 branch from 6ae39fe to 88a0f9a Compare November 21, 2026 09:07
@sangdth sangdth closed this Nov 21, 2026
@sangdth sangdth reopened this Nov 21, 2026
@sangdth
sangdth merged commit 7bf48d5 into master Nov 21, 2026
4 checks passed
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