Document jbang.alias

This commit is contained in:
Andres Almiray
2021-03-29 00:46:14 +02:00
parent d9cca882f5
commit 1a680089dc
2 changed files with 23 additions and 1 deletions

View File

@@ -36,6 +36,11 @@ packagers:
# Key will be capitalized and prefixed with `jbang`, i.e, `jbangFoo`.
foo: bar
# The jbang executable alias.
# If left undefined, will use `${distribution.name}`
# [optional]
alias: cli
# Git author used to commit to the catalog repository.
# [optional]
commitAuthor:
@@ -103,6 +108,11 @@ JSON::
"foo": "bar"
},
// The jbang executable alias.
// If left undefined, will use `${distribution.name}`
// [optional]
"alias": "cli",
// Git author used to commit to the catalog repository.
// [optional]
"commitAuthor": {
@@ -187,6 +197,13 @@ Maven::
<foo>bar</foo>
</extraProperties>
<!--
The jbang executable alias.
If left undefined, will use `${distribution.name}`
[optional]
-->
<alias>cli</alias>
<!--
Git author used to commit to the repository.
[optional]
@@ -274,6 +291,11 @@ jreleaser {
// [optional]
extraProperties.put('foo', 'bar')
// The jbang executable alias.
// If left undefined, will use `${distribution.name}`
// [optional]
alias = 'cli'
// Git author used to commit to the catalog repository.
// [optional]
commitAuthor {

View File

@@ -3,7 +3,7 @@
Your Ant build must be configured to create binary distributions (Zips and Tars). Review the
link:http://ant.apache.org/[Ant] documentation to find out how to do that. Follow the instructions
in the xref:ROOT:install.adoc[] section to download and install the JReleaser Ant tasks. Once configured
you an bootstrap a configuration file
you can bootstrap a configuration file
[source]
----