From 6f3a7c526a0317e115312515fa66e6cb229b6894 Mon Sep 17 00:00:00 2001 From: Florian Zschocke Date: Mon, 27 Jan 2020 20:30:44 +0100 Subject: [PATCH] Add project property `release.tag` as a global `project.tag` Add property `release.tag` to keep a generally available property. The `project.tag` was getting used in many places, so I need a global definition for it. The property `project.tag`, defined in the target `tagRelease` could not be reused, since when that target runs, the version is still a SNAPSHOT version. (And properties don't get re-assigned.) So instead a new property `release.tag` is defined, just like `release.name`, which can be only used sensible in a release stage, i.e. after `tagRelease` ran. --- build.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/build.xml b/build.xml index 67e365ee..26c5724a 100644 --- a/build.xml +++ b/build.xml @@ -46,6 +46,7 @@ + @@ -743,10 +744,10 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> - + releaselog="${releaselog}" + releasetag="${release.tag}"/> Uploading Gitblit ${project.version} binaries @@ -790,7 +791,6 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> - Publishing Gitblit ${project.version} release draft on GitHub @@ -798,7 +798,7 @@ releaseVersion="${project.version}"/> - + @@ -1090,11 +1090,12 @@ --> + Creating release ${project.tag} draft on GitHub - + -- 2.39.5