-
Notifications
You must be signed in to change notification settings - Fork 45
/
.goreleaser.yml
59 lines (59 loc) · 1.04 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
52
53
54
55
56
57
58
59
project_name: dfuse-eosio
release:
github:
owner: dfuse-io
name: dfuse-eosio
draft: true
name_template: '{{.Tag}}'
before:
hooks:
- ./scripts/build.sh -f -p -y
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/dfuseeos
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}}
mod_timestamp: '{{ .CommitTimestamp }}'
binary: dfuseeos
goos:
- linux
- darwin
goarch:
- amd64
archives:
- replacements:
darwin: macOS
linux: linux
386: i386
amd64: x86_64
files:
- LICENSE
- README.md
- CHANGELOG.md
- CONTRIBUTING.md
- DEPENDENCIES.md
- TROUBLESHOOTING.md
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
signs:
- cmd: keybase
args:
- sign
- --infile
- $artifact
- --binary
- --outfile
- $signature
- --detached
signature: ${artifact}.sig
artifacts: checksum
env_files:
github_token: ~/.config/goreleaser/github_token