From 9c281f840bca28244deb66a2d20f100c337f07ae Mon Sep 17 00:00:00 2001 From: abs3nt Date: Sat, 4 Mar 2023 23:44:28 -0800 Subject: [PATCH] ci: fix github build --- .githubrelease.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.githubrelease.yaml b/.githubrelease.yaml index fa730e4..a946382 100644 --- a/.githubrelease.yaml +++ b/.githubrelease.yaml @@ -17,6 +17,10 @@ builds: ignore: - goos: windows goarch: "386" + # Custom ldflags templates. + # Default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser`. + ldflags: + - -s -w -X github.com/abs3ntdev/haunt/cmd.Version={{.Version}} archives: - format: tar.gz