From f2b0857cd87a7011bbb7aa60a0dcf642c059b511 Mon Sep 17 00:00:00 2001 From: Julian Kornberger Date: Thu, 30 Nov 2023 12:22:35 +0100 Subject: [PATCH] Update goreleaser config --- .gitignore | 2 ++ .goreleaser.yml | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/.gitignore b/.gitignore index 5482cbc..8ca5a4c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ coverage.txt config.toml /dist .DS_Store + +dist/ diff --git a/.goreleaser.yml b/.goreleaser.yml index 50af900..163935a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,14 @@ +builds: + - binary: triax-eoc-exporter + main: ./cmd + flags: + - -trimpath + env: + - CGO_ENABLED=0 + goarch: + - amd64 + - arm + - arm64 nfpms: # note that this is an array of nfpm configs -