-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.goreleaser.yml
executable file
·65 lines (64 loc) · 1.28 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
builds:
# List of builds
- # First Build
env:
- CGO_ENABLED=0
main: main.go
# Set the binary output location to bin/ so archive will comply with Sensu Go Asset structure
binary: bin/{{ .ProjectName }}
goos:
- freebsd
- linux
- darwin
goarch:
- amd64
- 386
- arm
goarm:
- 5
- 6
- 7
ignore:
# TODO: add freebsd/arm support to gopsutil
- goos: freebsd
goarch: arm
targets:
- linux_386
- linux_amd64
- linux_arm_5
- linux_arm_6
- linux_arm_7
- linux_arm64
# - freebsd_amd64
# - freebsd_386
- darwin_amd64
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_sha512-checksums.txt"
algorithm: sha512
archives:
- id: tar
format: tar.gz
files:
- LICENSE
- README.md
- CHANGELOG.md
nfpms:
-
id: serverauth
package_name: serverauth
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
builds:
- serverauth-agent-dev
vendor: ServerAuth.com
homepage: https://serverauth.com
maintainer: ServerAuth <info@serverauth.com>
description: ServerAuth management agent.
formats:
- deb
- rpm
dependencies:
- git
epoch: 1
release: 2
empty_folders:
- /etc/serverauth