From d5c21ce19e65a34d53aac3b6ea4bcb58e2340e9a Mon Sep 17 00:00:00 2001 From: Vicken Simonian Date: Thu, 7 May 2026 08:33:27 -0700 Subject: [PATCH] fix: update release architecture targets --- .goreleaser.yaml | 1 - docs/spec.md | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 80aa3ef..8e86b83 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -11,7 +11,6 @@ builds: goos: - darwin goarch: - - amd64 - arm64 ldflags: - -s -w diff --git a/docs/spec.md b/docs/spec.md index d7b66ca..2f41c51 100644 --- a/docs/spec.md +++ b/docs/spec.md @@ -59,7 +59,7 @@ When setting up a new Mac, developers spend significant time manually tweaking S **Acceptance criteria:** - A Homebrew tap exists and is kept current with each release -- `brew install --cask vsimon/tap/macform` installs the correct binary for the running arch (arm64 or amd64) +- `brew install --cask vsimon/tap/macform` installs the correct binary for the running arch (arm64) - The installed binary passes `macform --version` ### US-5: Discover available settings @@ -291,7 +291,7 @@ dock: - **CI**: GitHub Actions installs mise, then uses it to activate Go and GoReleaser; runs `go build`, `go vet`, `go test ./...` on every push - **Release trigger**: Pushing a semver tag (`v*.*.*`) kicks off the release workflow - **Tool**: GoReleaser handles cross-compilation, archive creation, checksum generation, and GitHub Release publication -- **Targets**: `darwin/amd64` (Intel) and `darwin/arm64` (Apple Silicon); no other platforms +- **Targets**: `darwin/arm64` (Apple Silicon); no other platforms - **Archives**: `.tar.gz` per platform, plus a `checksums.txt` with SHA-256 digests - **Homebrew tap**: GoReleaser auto-updates `vsimon/homebrew-tap` with a generated formula after each release - **Version embedding**: Build injects `version`, `commit`, and `date` via `-ldflags` so `macform --version` reports accurate release info @@ -328,7 +328,7 @@ dock: 4. `apply --auto-approve` changes all differing settings and restarts affected apps. 5. After `apply`, running `plan` again shows "No changes." 6. `go build` succeeds with no warnings. -7. Pushing a `v*.*.*` tag triggers CI, produces GitHub Release with arm64 + amd64 archives, and updates the Homebrew formula. +7. Pushing a `v*.*.*` tag triggers CI, produces GitHub Release with arm64 archives, and updates the Homebrew formula. 8. `brew install vsimon/tap/macform` installs a working binary on a clean Mac. ## Constraints & Assumptions