-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
82 lines (82 loc) · 1.82 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
---
project_name: reward-greeter
before:
hooks:
- go mod download
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/greeter
ldflags:
- -s -w -X main.VERSION={{.Tag}}
goos:
- linux
- windows
- darwin
goarch:
- arm64
- amd64
- "386"
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
name_template: '{{- .ProjectName -}}_{{- .Os -}}_{{- if and (eq .Os "Linux") (eq .Arch "arm64") -}}aarch64{{- else -}}{{- .Arch -}}{{- end -}}'
files:
- none*
release:
draft: true
replace_existing_draft: true
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
nfpms:
- package_name: reward-greeter
file_name_template: '{{- .ProjectName -}}_{{- .Os -}}_{{- if and (eq .Os "Linux") (eq .Arch "arm64") -}}aarch64{{- else -}}{{- .Arch -}}{{- end -}}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
maintainer: Janos Miko <info@janosmiko.com>
description: Reward-Greeter is a sample plugin for Reward.
license: MIT
formats:
- deb
- rpm
dependencies: [ ]
recommends:
- docker-ce
bindir: /usr/bin
contents: [ ]
rpm:
compression: lzma
brews:
- tap:
owner: rewardenv
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
name: reward-greeter
commit_author:
name: Janos Miko
email: info@janosmiko.com
folder: Formula
description: Reward-Greeter is a sample plugin for Reward.
license: MIT
skip_upload: "false"
dependencies:
- name: reward
type: optional