-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yaml
48 lines (47 loc) · 927 Bytes
/
.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
---
project_name: zgsync
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/zgsync/
binary: zgsync
flags:
- -trimpath
ldflags:
- -s -w
- -X github.com/tukaelu/zgsync.Version={{ .Version }}
- -X github.com/tukaelu/zgsync.Revision={{ .ShortCommit }}
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- freebsd
goarch:
- amd64
- arm64
archives:
- format: tar.gz
format_overrides:
- goos: darwin
format: zip
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- README.md
- LICENSE
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
brews:
- repository:
owner: tukaelu
name: homebrew-tap
token: "{{ .Env.TAP_GITHUB_TOKEN }}"