From 162fd8d3f4f824de0b49fff9b7bdae51143658a3 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Tue, 26 Nov 2024 00:02:01 -0500 Subject: Fix logs (#19) * Implement logsink instead of relying on /dev/null * Add version during build to `--help` * Update README roadmap * Make Goreleaser inject build-time variables --- .goreleaser.yaml | 1 + 1 file changed, 1 insertion(+) (limited to '.goreleaser.yaml') diff --git a/.goreleaser.yaml b/.goreleaser.yaml index ddecc2d..86fda49 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -12,6 +12,7 @@ before: builds: - main: env: [CGO_ENABLED=0] + ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} goos: [linux, windows, darwin] archives: - format: tar.gz -- cgit v1.2.3