File tree Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -8,37 +8,40 @@ builds:
8
8
-
9
9
env :
10
10
- GO111MODULE=on
11
+ - CGO_ENABLED=0
11
12
goos :
12
13
- linux
13
14
- darwin
14
15
- windows
15
16
- freebsd
16
17
goarch :
17
18
- amd64
18
- - arm
19
19
- arm64
20
+ - riscv64
20
21
main : ./
21
22
flags :
22
23
- -trimpath
23
24
ldflags : -s -w -X github.com/goark/gpgpdump/facade.Version=v{{ .Version }}
24
25
binary : gpgpdump
25
26
27
+ source :
28
+ rlcp : true
26
29
archives :
27
30
-
28
31
format : tar.gz
29
32
format_overrides :
30
33
- goos : windows
31
34
format : zip
32
- name_template : ' {{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }} '
33
- replacements :
34
- amd64 : 64bit
35
- 386 : 32bit
36
- arm : ARM
37
- arm64 : ARM64
38
- darwin : macOS
39
- linux : Linux
40
- windows : Windows
41
- freebsd : FreeBSD
35
+ name_template : >-
36
+ {{ .Binary }}_
37
+ {{- .Version }}_
38
+ {{- if eq .Os "freebsd" }}FreeBSD
39
+ {{- else }}{{ title .Os }}{{ end }}_
40
+ {{- if eq .Arch "amd64" }}64bit
41
+ {{- else if eq .Arch "386" }}32bit
42
+ {{- else if eq .Arch "arm64" }}ARM64
43
+ {{- else if eq .Arch "riscv64" }}RISCV
44
+ {{- else }}{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ end }}
42
45
files :
43
46
- LICENSE*
44
47
- README*
Original file line number Diff line number Diff line change 11
11
build-all :
12
12
desc : Build executable binary with GoReleaser.
13
13
cmds :
14
- - goreleaser --snapshot --skip- publish --clean
14
+ - goreleaser --snapshot --skip= publish --clean
15
15
16
16
test :
17
17
desc : Test and lint.
You can’t perform that action at this time.
0 commit comments