-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yaml
147 lines (127 loc) · 2.87 KB
/
.goreleaser.yaml
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
project_name: inf
before:
hooks:
- go mod tidy
builds:
- id: default
env:
- CGO_ENABLED=0
binary: inf
ldflags:
- -s -w -X github.com/infinimesh/inf/cmd.VERSION={{.Version}}
tags:
- infinimesh
- cli
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
upx:
- enabled: true
ids: [default]
goos: [linux, darwin]
goarch:
- linux
- darwin
compress: best
archives:
- name_template: >-
inf_{{ .Version}}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
builds:
- default
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
# - examples/**/*
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
mode: keep-existing
github:
owner: infinimesh
name: inf
brews:
- name: inf
homepage: "https://github.com/infinimesh/infinimesh"
license: "Apache-2.0"
description: "infinimesh Platform CLI"
caveats: "Start with inf help login ;)"
repository:
owner: infinimesh
name: homebrew-inf
commit_author:
name: slntopp
email: [email protected]
nfpms:
- package_name: inf
homepage: https://github.com/infinimesh/infinimesh
maintainer: slntopp [email protected]
description: infinimesh Platform CLI
license: Apache 2.0
file_name_template: "{{ .ConventionalFileName }}"
builds:
- default
formats:
- deb
- rpm
dependencies:
- git
version_metadata: git
section: default
priority: extra
aurs:
- name: inf-bin
homepage: "https://github.com/infinimesh/infinimesh"
description: "infinimesh Platform CLI"
maintainers:
- "Mikita Iwanowski <[email protected]>"
contributors:
- "Mikita Iwanowski <[email protected]>"
license: "Apache-2.0"
private_key: "{{ .Env.AUR_KEY }}"
git_url: "ssh://[email protected]/inf-bin.git"
commit_author:
name: slntopp
email: [email protected]
snapcrafts:
- builds:
- default
name_template: >-
inf_{{ .Version}}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
name: infinimesh
publish: true
summary: infinimesh Platform CLI
description: Univeral CLI made with Cobra to work with infinimesh platform - local and remote.
channel_templates:
- edge
grade: stable
confinement: strict
license: Apache-2.0
base: core18
apps:
inf:
plugs:
- network
- home