Skip to content

Commit 9a684c3

Browse files
committed
1 parent a56ce08 commit 9a684c3

File tree

6 files changed

+1159
-14
lines changed

6 files changed

+1159
-14
lines changed

docs/antora.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ asciidoc:
1212
cyclonedx-version: 0.28.2
1313
syft-version: 1.27.1
1414
jib-version: 0.13.0
15+
jbang-version: 0.128.5
1516
icons: font
1617
icon_req_y: icon:check[role="green"]
1718
icon_req_n: icon:times[role="red"]

docs/modules/reference/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
** xref:files.adoc[]
6060
** xref:hooks/index.adoc[]
6161
*** xref:hooks/command.adoc[]
62+
*** xref:hooks/jbang.adoc[]
6263
*** xref:hooks/script.adoc[]
6364
** xref:matrix.adoc[]
6465
** xref:name-templates.adoc[]

docs/modules/reference/pages/extensions.adoc

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ YAML::
1414
+
1515
--
1616
[source,yaml]
17-
[subs="+macros"]
17+
[subs="+macros,attributes"]
1818
----
1919
# icon:dot-circle[]
2020
extensions:
@@ -51,7 +51,7 @@ extensions:
5151
5252
# JBang version to launch the script.
5353
# icon:dot-circle[]
54-
version: 0.128.5
54+
version: {jbang-version}
5555
5656
# Customize extension providers individually.
5757
# icon:dot-circle[]
@@ -69,7 +69,7 @@ TOML::
6969
+
7070
--
7171
[source,toml]
72-
[subs="+macros"]
72+
[subs="+macros,attributes"]
7373
----
7474
# Extensions need a name.
7575
# icon:dot-circle[]
@@ -102,7 +102,7 @@ TOML::
102102
103103
# JBang version to launch the script.
104104
# icon:dot-circle[]
105-
jbang.version = "0.128.5"
105+
jbang.version = "{jbang-version}"
106106
107107
# Customize extension providers individually.
108108
# icon:dot-circle[]
@@ -119,7 +119,7 @@ JSON::
119119
+
120120
--
121121
[source,json]
122-
[subs="+macros"]
122+
[subs="+macros,attributes"]
123123
----
124124
{
125125
// icon:dot-circle[]
@@ -156,7 +156,7 @@ JSON::
156156
157157
// JBang version to launch the script.
158158
// icon:dot-circle[]
159-
"version": "0.128.5"
159+
"version": "{jbang-version}"
160160
},
161161
162162
// Customize extension providers individually.
@@ -182,7 +182,7 @@ Maven::
182182
+
183183
--
184184
[source,xml]
185-
[subs="+macros,verbatim"]
185+
[subs="+macros,verbatim,attributes"]
186186
----
187187
<jreleaser>
188188
<!--
@@ -222,7 +222,7 @@ Maven::
222222
icon:dot-circle[]
223223
-->
224224
<jbang>
225-
<!--
225+
<!--
226226
JBang script reference to use.
227227
Any reference that produces a JAR file can be used.
228228
i.e. local or remote .java, .kt, .groovy, .jar or file,
@@ -231,11 +231,11 @@ Maven::
231231
-->
232232
<script>src/jreleaser-ext/my-jreleaser-extension.java</script>
233233
234-
<!--
234+
<!--
235235
JBang version to launch the script.
236236
icon:dot-circle[]
237237
-->
238-
<version>0.128.5</version>
238+
<version>{jbang-version}</version>
239239
</jbang>
240240
241241
<!--
@@ -268,7 +268,7 @@ Gradle::
268268
+
269269
--
270270
[source,groovy]
271-
[subs="+macros"]
271+
[subs="+macros,attributes"]
272272
----
273273
jreleaser {
274274
// icon:dot-circle[]
@@ -305,7 +305,7 @@ jreleaser {
305305
306306
// JBang version to launch the script.
307307
// icon:dot-circle[]
308-
version = '0.128.5'
308+
version = '{jbang-version}'
309309
}
310310
311311
// Customize extension providers individually.

docs/modules/reference/pages/hooks/command.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ Maven::
552552
<active>ALWAYS</active>
553553
554554
<!--
555-
Execute scripts if the condition evaluates to `true`.
555+
Execute commands if the condition evaluates to `true`.
556556
icon:dot-circle[] icon:file-alt[]
557557
-->
558558
<condition>"{{ Env.CI }}" == true</condition>

0 commit comments

Comments
 (0)