Commit 10c4ac0 1 parent 42ae8ae commit 10c4ac0 Copy full SHA for 10c4ac0
File tree 2 files changed +6
-19
lines changed
2 files changed +6
-19
lines changed Original file line number Diff line number Diff line change 1
1
before :
2
2
hooks :
3
- - go get
3
+ - go mod download
4
4
builds :
5
5
- env :
6
6
- CGO_ENABLED=0
9
9
goos :
10
10
- linux
11
11
- darwin
12
- goarch :
13
- - amd64
14
- - arm
15
- - arm64
16
- goarm :
17
- - " 6"
18
- - " 7"
19
- id : lin
20
- hooks :
21
- post :
22
- - upx "{{ .Path }}"
23
- - env :
24
- - CGO_ENABLED=0
25
- ldflags :
26
- - -X main.version={{.Version}}
27
- goos :
28
12
- windows
29
13
goarch :
30
14
- amd64
@@ -33,7 +17,10 @@ builds:
33
17
goarm :
34
18
- " 6"
35
19
- " 7"
36
- id : win
20
+ id : lin
21
+ # hooks:
22
+ # post:
23
+ # - upx "{{ .Path }}"
37
24
38
25
archives :
39
26
- name_template : ' {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
Original file line number Diff line number Diff line change 7
7
default :
8
8
cmds :
9
9
- CGO_ENABLED=0 go build .
10
- - upx -q {{.BINFILE}}
10
+ # - upx -q {{.BINFILE}}
11
11
# silent: true
12
12
method : checksum
13
13
generates :
You can’t perform that action at this time.
0 commit comments