diff --git a/docs/modules/configuration/pages/environment.adoc b/docs/modules/configuration/pages/environment.adoc index 1ea3281..3036f83 100644 --- a/docs/modules/configuration/pages/environment.adoc +++ b/docs/modules/configuration/pages/environment.adoc @@ -126,7 +126,7 @@ jreleaser { ---- ==== -Formats currently supported for the properties file are: +Formats currently supported for the file configurable in the `variables` field are: * `.properties` * `.yml` @@ -173,6 +173,9 @@ JSON:: NOTE: The config file must use the appropriate file extension that matches the format in use. +IMPORTANT: The config file should have key/value pairs with no nesting. Each key maps to the corresponding environment +variable that requires a value. + == Maven JReleaser will honor Maven project properties. These properties can be defined in several ways: diff --git a/docs/modules/examples/pages/cross-platform-jlink.adoc b/docs/modules/examples/pages/cross-platform-jlink.adoc index c24d291..ce3b036 100644 --- a/docs/modules/examples/pages/cross-platform-jlink.adoc +++ b/docs/modules/examples/pages/cross-platform-jlink.adoc @@ -25,6 +25,8 @@ project: groupId: com.acme artifactId: app version: 16 + extraProperties: + inceptionYear: 2021 release: github: @@ -72,6 +74,7 @@ TOML:: java.groupId = "com.acme" java.artifactId = "app" java.version = "16" + extraProperties.inceptionYear = "2021" [release.github] overwrite = true @@ -114,6 +117,9 @@ JSON:: "groupId": "com.acme", "artifactId": "app", "version": "16" + }, + "extraProperties": { + "inceptionYear": "2021" } }, @@ -178,7 +184,7 @@ Maven:: app Sample app https://acme.com/app - 2020 + 2021 16 @@ -287,6 +293,7 @@ jreleaser { website = 'pass:[https://acme.com/app]' authors = ['Duke'] license = 'Apache-2.0' + inceptionYear = '2021' java { mainClass = 'com.acme.Main' artifactId = 'app' diff --git a/docs/modules/quick-start/pages/ant.adoc b/docs/modules/quick-start/pages/ant.adoc index 3d1d6ec..7c48486 100644 --- a/docs/modules/quick-start/pages/ant.adoc +++ b/docs/modules/quick-start/pages/ant.adoc @@ -37,6 +37,8 @@ project: java: groupId: com.acme version: 8 + extraProperties: + inceptionYear: 2021 release: github: diff --git a/docs/modules/quick-start/pages/cli.adoc b/docs/modules/quick-start/pages/cli.adoc index ab315b4..c16cbf6 100644 --- a/docs/modules/quick-start/pages/cli.adoc +++ b/docs/modules/quick-start/pages/cli.adoc @@ -28,6 +28,8 @@ project: java: groupId: com.acme version: 8 + extraProperties: + inceptionYear: 2021 release: github: diff --git a/docs/modules/quick-start/pages/gradle.adoc b/docs/modules/quick-start/pages/gradle.adoc index f0dba5b..bc3a44e 100644 --- a/docs/modules/quick-start/pages/gradle.adoc +++ b/docs/modules/quick-start/pages/gradle.adoc @@ -104,6 +104,7 @@ jreleaser { website = 'https://acme.com/app' authors = ['Duke'] license = 'Apache-2.0' + extraProperties.put('inceptionYear', '2021') } release { diff --git a/ui-bundle.zip b/ui-bundle.zip index 44d0d3a..f64d975 100644 Binary files a/ui-bundle.zip and b/ui-bundle.zip differ diff --git a/ui-bundle/partials/header-content.hbs b/ui-bundle/partials/header-content.hbs index c99544a..4958106 100644 --- a/ui-bundle/partials/header-content.hbs +++ b/ui-bundle/partials/header-content.hbs @@ -5,7 +5,7 @@ {{site.title}}