-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
.goreleaser.yml
227 lines (193 loc) · 6.44 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
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
---
version: 2
project_name: aqua
archives:
- name_template: "{{.ProjectName}}_{{.Os}}_{{.Arch}}"
format_overrides:
- goos: windows
format: zip
builds:
- binary: aqua
main: cmd/aqua/main.go
env:
- CGO_ENABLED=0
goos:
- windows
- darwin
- linux
goarch:
- amd64
- arm64
release:
prerelease: true
header: |
[Pull Requests](https://github.com/aquaproj/aqua/pulls?q=is%3Apr+milestone%3A{{.Tag}}) | [Issues](https://github.com/aquaproj/aqua/issues?q=is%3Aissue+milestone%3A{{.Tag}}) | https://github.com/aquaproj/aqua/compare/{{.PreviousTag}}...{{.Tag}}
signs:
- cmd: cosign
artifacts: checksum
signature: ${artifact}.sig
certificate: ${artifact}.pem
output: true
args:
- sign-blob
- "-y"
- --output-signature
- ${signature}
- --output-certificate
- ${certificate}
- --oidc-provider
- github
- ${artifact}
brews:
-
# NOTE: make sure the url_template, the token and given repo (github or gitlab) owner and name are from the
# same kind. We will probably unify this in the next major version like it is done with scoop.
# GitHub/GitLab repository to push the formula to
repository:
owner: aquaproj
name: homebrew-aqua
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
# The project name and current git tag are used in the format string.
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
# Your app's homepage.
# Default is empty.
homepage: https://github.com/aquaproj/aqua
# Template of your app's description.
# Default is empty.
description: |
Declarative CLI Version manager. Support Lazy Install and Sharable configuration mechanism named Registry. Switch versions seamlessly
license: MIT
# Setting this will prevent goreleaser to actually try to commit the updated
# formula - instead, the formula file will be stored on the dist folder only,
# leaving the responsibility of publishing it to the user.
# If set to auto, the release will not be uploaded to the homebrew tap
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1
# Default is false.
skip_upload: auto
# So you can `brew test` your formula.
# Default is empty.
test: |
system "#{bin}/aqua --version"
# Additional install instructions so you don't need to override `install`.
#
# Template: allowed
# Since: v1.20
extra_install: |
generate_completions_from_executable(bin/"aqua", "completion", shells: [:bash, :zsh, :fish])
scoops:
-
description: |
Declarative CLI Version manager written in Go.
Support Lazy Install, Registry, and continuous update by Renovate.
CLI version is switched seamlessly
license: MIT
skip_upload: auto
repository:
owner: aquaproj
name: scoop-bucket
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
winget:
- publisher: aquaproj
short_description: Declarative CLI Version manager written in Go
license: mit
# Publisher URL.
#
# Templates: allowed
# publisher_url: https://goreleaser.com
publisher_support_url: https://github.com/aquaproj/aqua/discussions
# GOAMD64 to specify which amd64 version to use if there are multiple
# versions from the build section.
#
# Default: v1
# goamd64: v1
# URL which is determined by the given Token (github, gitlab or gitea).
#
# Default depends on the client.
# Templates: allowed
url_template: "https://github.com/aquaproj/aqua/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
# Git author used to commit to the repository.
# commit_author:
# name: Shunsuke Suzuki
# email: [email protected]
# The project name and current git tag are used in the format string.
#
# Templates: allowed
# commit_msg_template: "{{ .PackageIdentifier }}: {{ .Tag }}"
# Path for the file inside the repository.
#
# Default: manifests/<lowercased first char of publisher>/<publisher>/<version>
# path: manifests/g/goreleaser/1.19
homepage: https://github.com/aquaproj/aqua
# Your app's long description.
#
# Templates: allowed
description: |
Declarative CLI Version manager written in Go.
Support Lazy Install, Registry, and continuous update by Renovate.
CLI version is switched seamlessly
# License URL.
#
# Templates: allowed
license_url: https://github.com/aquaproj/aqua/blob/main/LICENSE
# Copyright.
#
# Templates: allowed
# copyright: ""
# Copyright URL.
#
# Templates: allowed
# copyright_url: ""
# Setting this will prevent goreleaser to actually try to commit the updated
# package - instead, it will be stored on the dist folder only,
# leaving the responsibility of publishing it to the user.
#
# If set to auto, the release will not be uploaded to the repository
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1
#
# Templates: allowed
skip_upload: "auto"
# Release notes.
#
# If you want to use the release notes generated by GoReleaser, use
# `{{.Changelog}}` as the value.
#
# Templates: allowed
# release_notes: "{{.Changelog}}"
# Release notes URL.
#
# Templates: allowed
release_notes_url: https://github.com/aquaproj/aqua/releases/tag/{{.Tag}}
# Tags.
# tags:
# -
# Repository to push the generated files to.
repository:
owner: suzuki-shunsuke
# owner: mini-core
name: winget-pkgs
token: "{{ .Env.WINGET_GITHUB_TOKEN }}"
# Optionally a branch can be provided.
#
# Default: default repository branch
# Templates: allowed
branch: "aqua-{{.Version}}"
# Sets up pull request creation instead of just pushing to the given branch.
# Make sure the 'branch' property is different from base before enabling
# it.
#
# Since: v1.17
pull_request:
# Whether to enable it or not.
enabled: true
# Whether to open the PR as a draft or not.
#
# Since: v1.19
draft: true
# Base can also be another repository, in which case the owner and name
# above will be used as HEAD, allowing cross-repository pull requests.
#
# Since: v1.19
base:
owner: microsoft
# owner: mini-core
name: winget-pkgs