From 91a19d5af0c823ea037d7e679286f3f9ba6b8d55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Michon?= Date: Tue, 15 Oct 2024 14:19:38 +0200 Subject: [PATCH] fix(goreleaser): disable CGO --- .goreleaser.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index eadb1a4b..b4bb21af 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -6,7 +6,7 @@ builds: binary: sand-agent main: ./cmd/sand-agent env: - - CGO_ENABLED=1 + - CGO_ENABLED=0 goarch: - 386 - amd64 @@ -29,21 +29,21 @@ builds: archives: - format: tar.gz builds: - - sand-agent - - sand-agent-cli + - sand-agent + - sand-agent-cli name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}" wrap_in_directory: true files: - - LICENSE - - README.md - - CHANGELOG.md + - LICENSE + - README.md + - CHANGELOG.md checksum: - name_template: 'checksums.txt' + name_template: "checksums.txt" snapshot: name_template: "{{ incpatch .Version }}-next" changelog: sort: asc filters: exclude: - - '^docs:' - - '^test:' + - "^docs:" + - "^test:"