-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy path.goreleaser.yml
65 lines (61 loc) · 1.26 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
version: 2
project_name: nats-top
release:
name_template: 'Release {{.Tag}}'
draft: true
github:
owner: nats-io
name: nats-top
builds:
- id: nats-top
binary: nats-top
flags:
- -trimpath
main: nats-top.go
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}}
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
- freebsd
goarch:
- amd64
- arm
- arm64
- 386
- mips64le
- s390x
goarm:
- 6
- 7
ignore:
- goos: darwin
goarch: 386
- goos: freebsd
goarch: arm
- goos: freebsd
goarch: arm64
- goos: freebsd
goarch: 386
checksum:
name_template: 'checksums.txt'
nfpms:
- formats:
- deb
- rpm
file_name_template: >-
{{ .ProjectName }}-v{{ .Version }}-
{{- .Os }}-
{{- if eq .Arch "amd64" }}x86_amd64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
bindir: /usr/local/bin
description: "Top(1) style utility for NATS"
vendor: nats.io
homepage: https://nats.io
license: MIT
maintainer: Synadia <info@synadia.com>