-
Notifications
You must be signed in to change notification settings - Fork 523
/
.goreleaser.yml
51 lines (44 loc) · 1.03 KB
/
.goreleaser.yml
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
# Documentation at https://goreleaser.com
project_name: goose
gomod:
proxy: true
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/goose
binary: goose
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
# Custom ldflags templates.
# Default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser`.
ldflags:
- -s -w
# You can disable this pipe in order to not upload any artifacts.
# Defaults to false.
release:
disable: false
archives:
- replacements:
386: i386
amd64: x86_64
name_template: "{{ tolower .Binary }}_{{ tolower .Os }}_{{ tolower .Arch }}"
format: binary
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
use: github
sort: asc
# Commit messages matching the regexp listed here will be removed from
# the changelog.
filters:
exclude:
- "^docs:"
- "^test:"
# TODO(mf): add docker support?