← back to Cli Printing Press
fix(ci): build from local checkout instead of proxying private module (#279)
1a95d78bf77fd72e53948e52c50a0fbfaa972696 · 2026-04-25 00:21:03 -0700 · Trevin Chow
Remove gomod.proxy: true from .goreleaser.yaml. With a private repo,
the Go module proxy can't fetch the module, and the fallback to
git ls-remote fails because no GitHub credentials are wired into
go's child process — it dies with "could not read Username for
'https://github.com': terminal prompts disabled".
Goreleaser now builds from the local checkout (which the workflow
already fetches with fetch-depth: 0). This drops the "build from a
proxy-published immutable version" guarantee, but for a private
auto-release project that benefit is small.
Every release since at least v2.3.1 had zero binary assets attached
because of this — release-please succeeded but goreleaser never did.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Files touched
Diff
commit 1a95d78bf77fd72e53948e52c50a0fbfaa972696
Author: Trevin Chow <trevin@trevinchow.com>
Date: Sat Apr 25 00:21:03 2026 -0700
fix(ci): build from local checkout instead of proxying private module (#279)
Remove gomod.proxy: true from .goreleaser.yaml. With a private repo,
the Go module proxy can't fetch the module, and the fallback to
git ls-remote fails because no GitHub credentials are wired into
go's child process — it dies with "could not read Username for
'https://github.com': terminal prompts disabled".
Goreleaser now builds from the local checkout (which the workflow
already fetches with fetch-depth: 0). This drops the "build from a
proxy-published immutable version" guarantee, but for a private
auto-release project that benefit is small.
Every release since at least v2.3.1 had zero binary assets attached
because of this — release-please succeeded but goreleaser never did.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---
.goreleaser.yaml | 3 ---
1 file changed, 3 deletions(-)
diff --git a/.goreleaser.yaml b/.goreleaser.yaml
index 55483b44..c4a49866 100644
--- a/.goreleaser.yaml
+++ b/.goreleaser.yaml
@@ -1,8 +1,5 @@
version: 2
-gomod:
- proxy: true
-
builds:
- id: printing-press
main: ./cmd/printing-press
← 892de38b fix(cli): backfill parent_id on store upgrade (#272) (#276)
·
back to Cli Printing Press
·
fix(cli): validate generated JSON string flags (#278) ea0fbe94 →