From 97bcdb1aa04498e10c15c77bbf8b36cac2a22909 Mon Sep 17 00:00:00 2001 From: Aron Jalbuena Date: Wed, 2 Aug 2023 13:10:21 -0500 Subject: [PATCH] edited the goreleaser --- .goreleaser.yml | 37 ++++++++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 5 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index b5d2935..4e7adde 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -47,15 +47,42 @@ release: # Since: v1.11. # Templateable since: v1.15. skip_upload: false - + builds: - - - ignore: - - goos: darwin - - goos: windows + - main: "main.go" + id: linux + binary: "dreamland" + goos: + - linux + goarch: + - amd64 + - arm64 + env: + - CGO_ENABLED=0 + - GOAMD64=v2 + - main: "main.go" + id: darwin + binary: "dreamland" + goos: + - darwin + env: + - CGO_ENABLED=0 + - GOAMD64=v2 + tags: + - darwin + - odo + - main: "main.go" + id: windows + binary: "dreamland" + goos: + - windows + goarch: + - amd64 env: - CGO_ENABLED=0 - GOAMD64=v2 + tags: + - windows changelog: skip: true