-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.goreleaser.yaml
66 lines (61 loc) · 1.24 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: 1
before:
hooks:
- go mod tidy
builds:
-
id: "natster"
main: "./natster"
binary: "natster"
goos:
- linux
- darwin
goarch:
- amd64
- arm64
- arm
goarm:
- 7
ignore:
- goos: windows
goarch: arm64
- goos: windows
goarch: arm
ldflags:
- -s -w --X main.VERSION={{.Version}} -X main.COMMIT={{.Commit}} -X main.DATE={{.Date}}
-
id: "natster_global"
main: "./natster_global"
binary: "natster_global"
goos:
- linux
goarch:
- amd64
- arm64
goarm:
- 7
ignore:
- goos: windows
ldflags:
- -s -w --X main.VERSION={{.Version}} -X main.COMMIT={{.Commit}} -X main.DATE={{.Date}}
archives:
- id: binaries
format: binary
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
allow_different_binary_count: true
nfpms:
- id: linux_packages
homepage: https://natster.io
maintainer: Synadia Communications
description: |-
Natster - A peer-to-multipeer media sharing application built with nothing but NATS
license: Apache 2.0
formats:
- deb
- rpm
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"