Skip to content

Commit ba2b9b7

Browse files
committed
fix: build the correct binary
1 parent 880f45f commit ba2b9b7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.goreleaser.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ before:
66
- go mod tidy
77

88
builds:
9-
- env:
9+
- id: "uuid"
10+
main: ./cmd/uuid/main.go
11+
binary: uuid
12+
env:
1013
- CGO_ENABLED=0
1114
goos:
1215
- linux
13-
- windows
1416
- darwin
15-
17+
- windows
1618
archives:
1719
- format: tar.gz
1820
# this name template makes the OS and Arch compatible with the results of `uname`.

0 commit comments

Comments
 (0)