From da457046f07c49f1737ffbe3a69d4db5a977d196 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 24 Apr 2025 14:29:11 +0200 Subject: Fix Gorelease --- .goreleaser.yaml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index d53627b..5de8745 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -16,7 +16,17 @@ before: - go generate ./... builds: - - env: + - id: api + main: ./cmd/api/main.go + env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin + - id: ui + main: ./cmd/ui/main.go + env: - CGO_ENABLED=0 goos: - linux @@ -24,7 +34,8 @@ builds: - darwin archives: - - formats: [tar.gz] + - formats: + - tar.gz # this name template makes the OS and Arch compatible with the results of `uname`. name_template: >- {{ .ProjectName }}_ @@ -36,7 +47,8 @@ archives: # use zip for windows archives format_overrides: - goos: windows - formats: [zip] + formats: + - zip changelog: sort: asc @@ -46,8 +58,6 @@ changelog: - "^test:" release: - footer: >- - + footer: | --- - Released by [GoReleaser](https://github.com/goreleaser/goreleaser). -- cgit v1.2.3-18-g5258