From e4ed31f1617f5442a3c6e9e219445f2fb571384c Mon Sep 17 00:00:00 2001 From: TZGyn Date: Mon, 26 Oct 2026 06:43:32 +0800 Subject: [PATCH] Document the Homebrew release and release process --- AGENTS.md | 8 ++++++++ README.md | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 0389b11..645e4df 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -174,6 +174,14 @@ what we take vs. skip). Never vendor it into the build. 4+32 KiB after. - No third-party deps beyond `github.com/coder/websocket` and `golang.org/x/crypto` (ACME); keep it that way unless a milestone calls for it. +- **CLI release**: `v0.1.0` (tag on `ebae420`) is published on Gitea with + darwin/linux arm64+amd64 tarballs and `checksums.txt`. The Homebrew formula + is `tzgyn-tunnel` in `TZGyn/homebrew-tap` (it installs the `tunnel` binary; + the name avoids the deprecated core `tunnel` formula). Rebuild with + `-X main.version=`, attach all four assets, and update the four + URLs/SHAs in the formula on each release. `tunnel up` currently starts a + detached process, not a launchd agent (the official CLI's agent was stopped + when the live tunnel was switched to this client). - Milestones: M1 core data path (done); M2 real ACME DNS-01 + renewals (done); M3 rate limits/admin/hardening (done); M4 Go client (done). Remaining optional work: export/import admin endpoints, token rotation, multi-region mesh, diff --git a/README.md b/README.md index 868cd77..7e55210 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,13 @@ go build -o .local/tunnel ./cmd/tunnel .local/tunnel status ``` +Or install the released binary (installs a `tunnel` command): + +```bash +brew tap TZGyn/tap https://gitea.tzgyn.dev/TZGyn/homebrew-tap.git +brew install tzgyn-tunnel +``` + The first `route add` creates a tunnel, generates the P-256 key/CSR, waits for the certificate, starts the background service, and prints the public URL. Routes reload without restarting the service.