-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
.goreleaser.yaml
60 lines (58 loc) · 1.05 KB
/
.goreleaser.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/alp/main.go
binary: alp
ldflags:
- -s -w
- -X main.version={{.Version}}
flags:
- -trimpath
goos:
- linux
- darwin
- windows
- freebsd
- netbsd
- openbsd
- solaris
goarch:
- amd64
- arm
- arm64
- mips64
- mips64le
ignore:
- goos: darwin
goarch: 386
- goos: freebsd
goarch: 386
- goos: netbsd
goarch: 386
- goos: openbsd
goarch: 386
- goos: linux
goarch: 386
- goos: windows
goarch: 386
- goos: freebsd
goarch: arm
- goos: netbsd
goarch: arm
- goos: netbsd
goarch: arm
- goos: linux
goarch: arm
archives:
- id: tar-gz
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
files:
- none*
- id: zip
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
files:
- none*
format: zip