Skip to content

Commit 9de2bbb

Browse files
committed
fix: barry 2025-01-03 15:31:58
1 parent 9d31929 commit 9de2bbb

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

.goreleaser.yaml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,16 @@ builds:
66
env:
77
- CGO_ENABLED=0
88
- GOPROXY=https://goproxy.io
9-
goos:
10-
- linux
11-
- windows
12-
- darwin
13-
goarch:
14-
- amd64
15-
- arm
16-
- arm64
17-
ignore:
18-
- goos: windows
19-
goarch: arm
20-
- goos: windows
21-
goarch: "386"
9+
targets:
10+
- "darwin_amd64"
11+
- "windows_amd64"
12+
- "linux_amd64"
13+
- "linux_amd64"
2214
ldflags:
2315
- -X 'github.com/pubgo/funk/version.version={{ .Version }}'
2416
- -X 'github.com/pubgo/funk/version.project=fastcommit'
25-
- -X 'github.com/pubgo/funk/version.buildTime='{{ .CommitDate }}''
26-
- -X 'github.com/pubgo/funk/version.commitID='{{ .ShortCommit }}''
17+
- -X 'github.com/pubgo/funk/version.buildTime={{ .CommitDate }}'
18+
- -X 'github.com/pubgo/funk/version.commitID={{ .ShortCommit }}'
2719
flags:
2820
- -trimpath
2921
- -tags=releaser

0 commit comments

Comments
 (0)