-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.goreleaser.yml
89 lines (88 loc) · 1.99 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
83
84
85
86
87
88
89
---
project_name: reward
before:
hooks:
- go mod download
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/reward
ldflags:
- -s -w -X main.VERSION={{.Tag}}+{{ time "200601021504" }}
goos:
- linux
- windows
- darwin
goarch:
- arm64
- amd64
- "386"
archives:
- format_overrides:
- goos: windows
format: zip
name_template: |
{{- .ProjectName -}}_
{{- title .Os -}}_
{{- if and (eq .Os "linux") (eq .Arch "arm64") -}}aarch64
{{- else if eq .Arch "amd64" -}}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{- .Arch -}}
{{- end -}}
files:
- none*
release:
extra_files:
- glob: ./VERSION.txt
draft: true
replace_existing_draft: true
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
nfpms:
- package_name: reward
file_name_template: |
{{- .ProjectName -}}_
{{- title .Os -}}_
{{- if and (eq .Os "linux") (eq .Arch "arm64") -}}aarch64
{{- else if eq .Arch "amd64" -}}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{- .Arch -}}
{{- end -}}
maintainer: Janos Miko <[email protected]>
description: Reward is CLI utility for orchestrating Docker based development environments.
license: MIT
formats:
- deb
- rpm
dependencies: [ ]
recommends:
- docker-ce
bindir: /usr/bin
contents: [ ]
rpm:
compression: lzma
brews:
- repository:
owner: rewardenv
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
name: reward
commit_author:
name: Janos Miko
email: [email protected]
folder: Formula
description: Reward is CLI utility for orchestrating Docker based development environments.
license: MIT
skip_upload: "false"
dependencies:
- name: docker
type: optional
- name: mutagen
type: optional