From 57c78a0bc62babd1607ee35ce863e3a6ef7069b8 Mon Sep 17 00:00:00 2001 From: Andres Almiray Date: Sat, 1 May 2021 00:54:37 +0200 Subject: [PATCH] Document os/platform name templates --- .../modules/configuration/pages/name-templates.adoc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/modules/configuration/pages/name-templates.adoc b/docs/modules/configuration/pages/name-templates.adoc index ca076d3..817e68d 100644 --- a/docs/modules/configuration/pages/name-templates.adoc +++ b/docs/modules/configuration/pages/name-templates.adoc @@ -278,6 +278,19 @@ jreleaser { ---- ==== +== Platform + +The following names are related to detected OS/Platform settings + +[%header, cols="<2,<5", width="100%"] +|=== +| Key | Description +| osName | value of System.getProperty("os.name") +| osArch | value of System.getProperty("os.arch") +| osPlatform | combination of `${osName}-${osArch}` +| osVersion | value of System.getProperty("os.version") +|=== + == Release The following names are related to xref:configuration:release/index.adoc[]