forked from jreleaser/jreleaser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jreleaser.yml
254 lines (240 loc) · 7.58 KB
/
jreleaser.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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
environment:
properties:
jdkPathPrefix: 'apps/jreleaser/build/jdks'
jdkFilePrefix: 'zulu17.30.15-ca-jdk17.0.1'
project:
name: jreleaser
description: Release projects quickly and easily with JReleaser
longDescription: |
JReleaser is a release automation tool. Its goal is to simplify creating releases and
publishing artifacts to multiple package managers while providing customizable options.
JReleaser takes inputs from popular builds tools (Ant, Maven, Gradle) such as JAR files,
binary distributions (.zip, .tar), JLink images, or any other file that you’d like to
publish as a Git release on popular Git services such as GitHub, GitLab, or Gitea.
Distribution files may additionally be published to be consumed by popular package managers
such as Homebrew, Chocolatey, Snapcraft, or get ready to be launched via JBang. Releases
may be announced in a variety of channels such as Twitter, Zulip, SDKMAN!, and more.
website: https://jreleaser.org
authors:
- Andres Almiray
license: Apache-2.0
java:
groupId: org.jreleaser
version: 8
multiProject: true
extraProperties:
inceptionYear: 2020
tags:
- 'jreleaser'
- 'release'
- 'tool'
- 'java'
- 'git'
platform:
replacements:
aarch_64: aarch64
release:
github:
overwrite: true
sign: true
discussionCategoryName: Announcements
changelog:
formatted: ALWAYS
format: '- {{commitShortHash}} {{commitTitle}}'
contributors:
format: '- {{contributorName}}{{#contributorUsernameAsLink}} ({{.}}){{/contributorUsernameAsLink}}'
labelers:
- label: 'merge_pull'
title: 'Merge pull'
- label: 'merge_branch'
title: 'Merge branch'
- label: 'translation'
title: '[translation]'
- label: 'task'
title: '[chore]'
- label: 'dependencies'
title: '[deps]'
- label: 'build'
title: '[build]'
- label: 'feature'
title: 'Resolves #'
body: 'Resolves #'
- label: 'issue'
title: 'Fixes #'
body: 'Fixes #'
- label: 'issue'
title: 'Relates to #'
body: 'Relates to #'
- label: 'allcontributors'
title: 'docs: update'
categories:
- title: 'Merge'
labels:
- 'merge_pull'
- 'merge_branch'
- title: '🚀 Features'
labels:
- 'feature'
- title: '✅ Issues'
labels:
- 'issue'
- title: '🧰 Tasks'
labels:
- 'task'
- title: '🌐 Translation'
labels:
- 'translation'
- title: '⚙️ Dependencies'
labels:
- 'dependencies'
- title: '🛠 Build'
labels:
- 'build'
- title: 'allcontributors'
labels:
- 'allcontributors'
hide:
categories:
- 'Merge'
- 'allcontributors'
contributors:
- 'GitHub'
- 'allcontributors'
replacers:
- search: '\[chore\] '
- search: '\[deps\] '
- search: '\[translation\] '
- search: '\[build\] '
signing:
active: always
armored: true
files: false
checksum:
files: false
announce:
twitter:
active: release
status: 🚀 JReleaser {{projectVersion}} has been released! {{releaseNotesUrl}}
assemble:
jlink:
jreleaser-standalone:
active: always
java:
version: 11
mainClass: 'org.jreleaser.cli.Main'
imageName: '{{distributionName}}-{{projectEffectiveVersion}}'
executable: 'jreleaser'
jdeps:
multiRelease: base
ignoreMissingDeps: true
targetJdks:
- path: '{{jdkPathPrefix}}/zulu17Osx/{{jdkFilePrefix}}-macosx_x64/zulu-17.jdk/Contents/Home'
platform: 'osx-x86_64'
- path: '{{jdkPathPrefix}}/zulu17OsxArm/{{jdkFilePrefix}}-macosx_aarch64/zulu-17.jdk/Contents/Home'
platform: 'osx-aarch_64'
- path: '{{jdkPathPrefix}}/zulu17Linux/{{jdkFilePrefix}}-linux_x64'
platform: 'linux-x86_64'
- path: '{{jdkPathPrefix}}/zulu17LinuxArm/{{jdkFilePrefix}}-linux_aarch64'
platform: 'linux-aarch_64'
- path: '{{jdkPathPrefix}}/zulu17LinuxMusl/{{jdkFilePrefix}}-linux_musl_x64'
platform: 'linux_musl-x86_64'
- path: '{{jdkPathPrefix}}/zulu17LinuxMuslArm/{{jdkFilePrefix}}-linux_musl_aarch64'
platform: 'linux_musl-aarch_64'
- path: '{{jdkPathPrefix}}/zulu17Windows/{{jdkFilePrefix}}-win_x64'
platform: 'windows-x86_64'
- path: '{{jdkPathPrefix}}/zulu17WindowsArm/{{jdkFilePrefix}}-win_aarch64'
platform: 'windows-aarch_64'
mainJar:
path: 'apps/jreleaser/build/libs/jreleaser-{{projectVersion}}.jar'
jars:
- pattern: 'apps/jreleaser/build/dependencies/flat/*.jar'
distributions:
jreleaser:
java:
mainClass: org.jreleaser.cli.Main
brew:
active: always
tap:
active: release
chocolatey:
active: always
remoteBuild: true
title: JReleaser
iconUrl: 'https://rawcdn.githack.com/jreleaser/jreleaser/0934fa1fa3f0bd09c0c8c39fbdeb5df2ce507457/src/media/icon_128x128.png'
bucket:
active: release
jbang:
active: always
macports:
active: always
categories:
- devel
- java
maintainers:
- '@aalmiray'
repository:
active: release
name: jreleaser-macports
scoop:
active: always
bucket:
active: release
sdkman:
active: release
snap:
active: always
remoteBuild: true
base: core18
localPlugs:
- network
- home
spec:
active: always
repository:
active: release
name: jreleaser-copr
artifacts:
- path: apps/{{distributionName}}/build/distributions/{{distributionName}}-{{projectVersion}}.zip
transform: '{{distributionName}}/{{distributionName}}-{{projectEffectiveVersion}}.zip'
- path: apps/{{distributionName}}/build/distributions/{{distributionName}}-{{projectVersion}}.tar
transform: '{{distributionName}}/{{distributionName}}-{{projectEffectiveVersion}}.tar'
jreleaser-ant-tasks:
artifacts:
- path: plugins/{{distributionName}}/build/distributions/{{distributionName}}-{{projectVersion}}.zip
transform: '{{distributionName}}/{{distributionName}}-{{projectEffectiveVersion}}.zip'
jreleaser-tool-provider:
type: SINGLE_JAR
artifacts:
- path: apps/{{distributionName}}/build/libs/{{distributionName}}-{{projectVersion}}.jar
transform: '{{distributionName}}/{{distributionName}}-{{projectEffectiveVersion}}.jar'
jreleaser-standalone:
docker:
active: always
registries:
- serverName: DEFAULT
username: jreleaser
labels:
'org.opencontainers.image.title': 'jreleaser'
postCommands:
- 'VOLUME /workspace'
specs:
slim:
imageNames:
- 'jreleaser/jreleaser-{{dockerSpecName}}:{{tagName}}'
- 'jreleaser/jreleaser-{{dockerSpecName}}:latest'
matchers:
platform: 'linux-x86_64'
preCommands:
- 'RUN apt-get update -y'
- 'RUN apt-get install unzip'
alpine:
imageNames:
- 'jreleaser/jreleaser-{{dockerSpecName}}:{{tagName}}'
- 'jreleaser/jreleaser-{{dockerSpecName}}:latest'
matchers:
platform: 'linux_musl-x86_64'
preCommands:
- 'RUN apk add unzip'
files:
artifacts:
- path: VERSION