From b1aeb3cb7406731af3c07e28b5b69fdf4c043273 Mon Sep 17 00:00:00 2001 From: ingbyr Date: Mon, 27 Sep 2021 13:36:43 +0800 Subject: [PATCH] config goreleaser --- .goreleaser.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 71118a2..16e23a0 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,6 +1,20 @@ builds: - - env: + - + # Custom environment variables to be set during the builds. + # Default is empty. + env: - CGO_ENABLED=0 + + # GOOS list to build for. + # For more info refer to: https://golang.org/doc/install/source#environment + # Defaults are darwin and linux. goos: - linux - darwin + + # GOARCH to build for. + # For more info refer to: https://golang.org/doc/install/source#environment + # Defaults are 386, amd64 and arm64. + goarch: + - amd64 + - 386