summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2025-04-24 14:29:11 +0200
committerSanto Cariotti <santo@dcariotti.me>2025-04-24 14:29:11 +0200
commitda457046f07c49f1737ffbe3a69d4db5a977d196 (patch)
treed0d54eb80a828f19c5bf066ddc02609e4707c149
parent2579b9cfd518d4a9e29aedd1ac9f4c733b925574 (diff)
Fix Gorelease
-rw-r--r--.goreleaser.yaml22
1 files 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).