From 2d645495190799071828a5bb9eb2ab715748e8ff Mon Sep 17 00:00:00 2001 From: Trajan0x Date: Wed, 7 Aug 2024 21:29:15 +0200 Subject: [PATCH] cleanup [goreleaser] --- contrib/opbot/.goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/opbot/.goreleaser.yml b/contrib/opbot/.goreleaser.yml index 69abdb9c18..d12cf96884 100644 --- a/contrib/opbot/.goreleaser.yml +++ b/contrib/opbot/.goreleaser.yml @@ -12,7 +12,7 @@ builds: # We need to build a static binary because we are building in a glibc based system and running in a musl container - -s -w -extldflags '-static' -X github.com/synapsecns/sanguine/core/config.DefaultVersion={{.Version}} -X github.com/synapsecns/sanguine/core/config.DefaultCommit={{.Commit}} -X github.com/synapsecns/sanguine/core/config.DefaultDate={{ .CommitDate }} gcflags: - - -dwarflocationlists=true + - all=-dwarflocationlists=true # required workaround for https://github.com/Shopify/sarama/issues/2206 # See: https://github.com/golang/go/issues/35067#issuecomment-544805311 because we're statically compiling, # without forcing netgo, we use the cgo resolver which will not work for .local (a canonical tld in kubernetes)