File tree Expand file tree Collapse file tree 1 file changed +7
-15
lines changed Expand file tree Collapse file tree 1 file changed +7
-15
lines changed Original file line number Diff line number Diff line change @@ -6,24 +6,16 @@ builds:
6
6
env :
7
7
- CGO_ENABLED=0
8
8
- 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"
22
14
ldflags :
23
15
- -X 'github.com/pubgo/funk/version.version={{ .Version }}'
24
16
- -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 }}'
27
19
flags :
28
20
- -trimpath
29
21
- -tags=releaser
You can’t perform that action at this time.
0 commit comments