From 4d8e6c17bac9ea4599b377c2022d9e0783e548b8 Mon Sep 17 00:00:00 2001 From: Narimm Date: Tue, 6 Jun 2023 12:14:23 +1000 Subject: [PATCH] Remove some double ups and add version next default at a point that unless it is declared on command line the release fails. --- .github/workflows/release.yml | 2 +- build.xml | 70 +++++++++++++++-------------------- 2 files changed, 30 insertions(+), 42 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f9bcac7..78453b2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout Tags run: git fetch --tags origin - name: Build with Ant - run: ant -noinput -Dbuild.number=$GITHUB_RUN_NUMBER default + run: ant -noinput -Dbuild.number=$GITHUB_RUN_NUMBER -Drelease=true -DdryRun=true release - name: Release Artifacts uses: xresloader/upload-to-github-release@v1 env: diff --git a/build.xml b/build.xml index 1be75e9..020a268 100644 --- a/build.xml +++ b/build.xml @@ -11,34 +11,19 @@ - - - - - - + - - - - - - - - - - - - + + - + - + @@ -92,11 +77,18 @@ - + + + + + + + + -
${TODAY} - v${version.prior} .. v${version.current} ${git.changelog} @@ -127,12 +119,20 @@ basedir="/${build.dir}" /> - - + - + + + + + + + + + + @@ -150,19 +150,8 @@ - - - - - - - - - - - - - + + @@ -173,9 +162,8 @@ - + - @@ -185,6 +173,6 @@ - +