From 5e2df1c0f335f41dc92bd8ad0c932d7fb026321d Mon Sep 17 00:00:00 2001 From: Vladimir Pikovski Date: Sat, 11 Nov 2023 23:35:00 +0200 Subject: [PATCH] wip --- .github/workflows/ci_pipeline.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_pipeline.yml b/.github/workflows/ci_pipeline.yml index 9765b259a..7217f432c 100644 --- a/.github/workflows/ci_pipeline.yml +++ b/.github/workflows/ci_pipeline.yml @@ -18,7 +18,8 @@ jobs: run: | version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) next_version=$(echo $version | awk -F'[.-]' '{print $1"."$2"."$3+1}') - echo nextVersion >> version.txt + echo "nextVersion=$next_version" >> "$GITHUB_ENV" + echo $nextVersion >> version.txt mvn versions:set -DnewVersion=$next_version # - name: Compile Code and Package Artifact