-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
82 lines (82 loc) · 1.86 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-cloud
before:
hooks:
- go mod download
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/cloud
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-cloud
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 <[email protected]>
description: Reward-Cloud is a plugin for Reward to manipulate Cloud environments.
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-cloud
commit_author:
name: Janos Miko
email: [email protected]
folder: Formula
description: Reward-Cloud is a plugin for Reward to manipulate Cloud environments.
license: MIT
skip_upload: "true"
dependencies:
- name: reward
type: optional