summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-11-26 00:02:01 -0500
committerGitHub <noreply@github.com>2024-11-26 00:02:01 -0500
commit162fd8d3f4f824de0b49fff9b7bdae51143658a3 (patch)
tree23cea98346d6eae5b1f3383407a2a594f4b2b529
parentf28e3b35664582ace0a58338b0cd7a486963b55e (diff)
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
-rw-r--r--.goreleaser.yaml1
1 files changed, 1 insertions, 0 deletions
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