Skip to content

Commit 9f7e1a3

Browse files
committed
ci: update go releaser
1 parent 351fb26 commit 9f7e1a3

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.goreleaser.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ builds:
99
id: "oomcli"
1010
binary: oomcli
1111
env:
12-
- CGO_ENABLED=1
12+
- CGO_ENABLED=0
1313
goos:
1414
- linux
1515
- darwin
16+
goarch:
17+
- amd64
1618
ldflags:
1719
- >
1820
-s -w
@@ -23,22 +25,19 @@ builds:
2325
id: "oomagent"
2426
binary: oomagent
2527
env:
26-
- CGO_ENABLED=1
28+
- CGO_ENABLED=0
2729
goos:
2830
- linux
2931
- darwin
32+
goarch:
33+
- amd64
3034
ldflags:
3135
- >
3236
-s -w
3337
-X github.com/oom-ai/oomstore/version.Version={{.Version}}
3438
-X github.com/oom-ai/oomstore/version.Commit={{.Commit}}
3539
-X github.com/oom-ai/oomstore/version.Built={{.CommitDate}}
3640
37-
archives:
38-
- replacements:
39-
darwin: Darwin
40-
linux: Linux
41-
amd64: x86_64
4241
checksum:
4342
name_template: "checksums.txt"
4443
snapshot:

0 commit comments

Comments
 (0)