forked from askovpen/gossiped
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
94 lines (94 loc) · 1.7 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# you may remove this if you don't use vgo
- go mod tidy
# you may remove this if you don't need go generate
# - go generate ./...
builds:
- id: win
env:
- CGO_ENABLED=0
goos:
- windows
- id: lnx
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 6
- 7
- id: osx
env:
- CGO_ENABLED=0
goos:
- darwin
goarch:
- amd64
- id: fbsd
env:
- CGO_ENABLED=0
goos:
- freebsd
goarch:
- 386
- amd64
archives:
-
name_template: "{{.ProjectName}}-{{.Version}}-{{.Os}}{{.Arch}}"
builds:
- win
- osx
- fbsd
files:
- gossiped.example.yml
- gossiped.tpl
format_overrides:
- goos: windows
format: zip
replacements:
darwin: osx
linux: lnx
windows: win
freebsd: fbsd
386: 32
amd64: 64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{.Version}}-snapshot"
changelog:
skip: true
filters:
exclude:
- '^docs:'
- '^test:'
nfpms:
-
id: gossiped
package_name: gossiped
homepage: https://github.com/askovpen/gossiped
maintainer: askovpen <[email protected]>
license: MIT
file_name_template: "{{.ProjectName}}-{{.Version}}-{{.Os}}{{.Arch}}{{ if .Arm }}v{{ .Arm }}{{ end }}"
replacements:
darwin: osx
linux: lnx
windows: win
386: 32
amd64: 64
formats:
- deb
- rpm
bindir: /usr/bin
vendor: askovpen
config_files:
"gossiped.example.yml": "/etc/ftn/gossiped.example.yml"
"gossiped.tpl": "/etc/ftn/gossiped.tpl"