forked from nats-io/nats-surveyor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
64 lines (57 loc) · 1.27 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
---
project_name: nats-surveyor
release:
draft: true
github:
owner: snappcloud
name: nats-surveyor
name_template: 'Release {{.Tag}}'
builds:
- main: .
id: nats-surveyor
binary: nats-surveyor
ldflags:
- "-s -w -X github.com/nats-io/nats-surveyor/cmd.Version={{ .Tag }}"
env:
- GO111MODULE=on
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 6
- 7
ignore:
- goos: darwin
goarch: 386
archives:
- id: zipfiles
wrap_in_directory: true
name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
format: zip
files:
- LICENSE
- README.md
- nats-surveyor*
nfpms:
- formats:
- deb
file_name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
bindir: /usr/local/bin
description: A Simplified Prometheus Monitoring Solution for NATS
vendor: nats.io
maintainer: Colin Sullivan <[email protected]>
homepage: https://nats.io
license: Apache 2.0
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
checksum:
name_template: '{{ .ProjectName }}-v{{ .Version }}-checksums.txt'