Skip to content

Commit 9cc1c0c

Browse files
LogFlamesaalmiray
authored andcommitted
feat(release): add support for immutable releases
See jreleaser/jreleaser#1979. Add other formats add gradle
1 parent 59bdb3b commit 9cc1c0c

File tree

2 files changed

+39
-7
lines changed

2 files changed

+39
-7
lines changed

docs/antora.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
name: guide
22
title: JReleaser
3-
version: early-access
3+
version: latest
44
asciidoc:
55
attributes:
6-
jreleaser-version: 1.21.0-SNAPSHOT
7-
jreleaser-effective-version: early-access
8-
jreleaser-tag: early-access
6+
jreleaser-version: 1.20.0
7+
jreleaser-effective-version: 1.20.0
8+
jreleaser-tag: v1.20.0
99
jreleaser-raw-ghcontent: https://raw.githubusercontent.com/jreleaser/jreleaser/main
1010
jreleaser-extension-api: 'https://raw.githubusercontent.com/jreleaser/jreleaser/main/api/jreleaser-model-api/src/main/java/org/jreleaser/extensions/api'
1111
pomchecker-version: 1.14.0
12-
cyclonedx-version: 0.29.1
13-
syft-version: 1.32.0
12+
cyclonedx-version: 0.28.2
13+
syft-version: 1.27.1
1414
jib-version: 0.13.0
15-
jbang-version: 0.129.0
15+
jbang-version: 0.128.5
1616
icons: font
1717
icon_req_y: icon:check[role="green"]
1818
icon_req_n: icon:times[role="red"]

docs/modules/reference/pages/release/github.adoc

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ include::partial$release/yaml/common-head.adoc[]
3434
# icon:dot-circle[] icon:eye-slash[]
3535
draft: false
3636
37+
# Make release compatible with GitHub immutable releases.
38+
# Creates the release as draft, uploads asstes and then publishes.
39+
# Defaults to `false`.
40+
# icon:dot-circle[]
41+
immutableRelease: false
42+
3743
# icon:dot-circle[]
3844
prerelease:
3945
# Marks the release as prerelease.
@@ -90,6 +96,12 @@ include::partial$release/toml/common-head.adoc[]
9096
# icon:dot-circle[] icon:eye-slash[]
9197
draft = false
9298
99+
# Make release compatible with GitHub immutable releases.
100+
# Creates the release as draft, uploads asstes and then publishes.
101+
# Defaults to `false`.
102+
# icon:dot-circle[]
103+
immutableRelease = false
104+
93105
# Marks the release as prerelease.
94106
# Defaults to `false`.
95107
# icon:dot-circle[]
@@ -142,6 +154,12 @@ include::partial$release/json/common-head.adoc[]
142154
// icon:dot-circle[] icon:eye-slash[]
143155
"draft": false,
144156
157+
// Make release compatible with GitHub immutable releases.
158+
// Creates the release as draft, uploads asstes and then publishes.
159+
// Defaults to `false`.
160+
// icon:dot-circle[]
161+
"immutableRelease": false,
162+
145163
// icon:dot-circle[]
146164
"prerelease": {
147165
// Marks the release as prerelease.
@@ -205,6 +223,14 @@ include::partial$release/maven/common-head.adoc[]
205223
-->
206224
<draft>false</draft>
207225
226+
<!--
227+
Make release compatible with GitHub immutable releases.
228+
Creates the release as draft, uploads asstes and then publishes.
229+
Defaults to `false`.
230+
icon:dot-circle[]
231+
-->
232+
<immutableRelease>false</immutableRelease>
233+
208234
<!--
209235
icon:dot-circle[]
210236
-->
@@ -281,6 +307,12 @@ include::partial$release/gradle/common-head.adoc[]
281307
// icon:dot-circle[] icon:eye-slash[]
282308
draft = false
283309
310+
// Make release compatible with GitHub immutable releases.
311+
// Creates the release as draft, uploads asstes and then publishes.
312+
// Defaults to `false`.
313+
// icon:dot-circle[]
314+
immutableRelease = false
315+
284316
// icon:dot-circle[]
285317
prerelease {
286318
// Marks the release as prerelease.

0 commit comments

Comments
 (0)