forked from arlonproj/arlon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
52 lines (51 loc) · 1.11 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
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
- make fmt
- make vet
builds:
- id: 'cli'
env:
- CGO_ENABLED=0
goos:
- linux
# - windows # coming soon?
- darwin
goarch:
- 'amd64'
- '386'
- 'arm64'
ignore:
- goos: 'darwin'
goarch: '386'
- goos: 'linux'
goarch: 'arm'
goarm: '7'
- goarm: 'mips64'
- gomips: 'hardfloat'
- goamd64: 'v4'
skip: false
no_unique_dist_dir: true
mod_timestamp: '{{ .CommitTimestamp }}'
binary: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}_v{{ .Version }}'
archives:
- id: 'cli'
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}_{{ .Version }}'
replacements:
darwin: 'Darwin'
linux: 'Linux'
windows: 'Windows'
386: 'i386'
amd64: 'x86_64'
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- 'refactor'
- 'minor fix'
- 'cleanup'