Skip to content

Commit dfcc822

Browse files
committed
Add goreleaser config
Signed-off-by: Waldemar Quevedo <[email protected]>
1 parent 5400e4d commit dfcc822

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

.goreleaser.yml

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
project_name: nats-replicator
3+
4+
release:
5+
draft: true
6+
github:
7+
owner: nats-io
8+
name: nats-replicator
9+
10+
name_template: 'Release {{.Tag}}'
11+
12+
builds:
13+
- goos:
14+
- linux
15+
- darwin
16+
- windows
17+
goarch:
18+
- 386
19+
- amd64
20+
- arm
21+
- arm64
22+
goarm:
23+
- 6
24+
- 7
25+
ignore:
26+
- goos: darwin
27+
goarch: 386
28+
29+
main: .
30+
binary: nats-replicator
31+
32+
lang: go
33+
34+
archive:
35+
wrap_in_directory: true
36+
name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm
37+
}}v{{ .Arm }}{{ end }}'
38+
format: zip
39+
files:
40+
- LICENSE
41+
- README.md
42+
43+
nfpm:
44+
formats:
45+
- deb
46+
name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm
47+
}}v{{ .Arm }}{{ end }}'
48+
bindir: /usr/local/bin
49+
description: NATS Replicator
50+
vendor: nats.io
51+
maintainer: Stephen Asbury <[email protected]>
52+
homepage: https://nats.io
53+
license: Apache 2.0
54+
55+
snapshot:
56+
name_template: SNAPSHOT-{{ .Commit }}
57+
58+
checksum:
59+
name_template: '{{ .ProjectName }}-v{{ .Version }}-checksums.txt'
60+
61+
dist: dist
62+
63+
github_urls:
64+
download: https://github.com

0 commit comments

Comments
 (0)