From a7751abcda623a30206153bb718dcb8eb6f07c24 Mon Sep 17 00:00:00 2001 From: Vladimir Pikovski Date: Sat, 11 Nov 2023 23:43:20 +0200 Subject: [PATCH] wip --- .github/workflows/ci_pipeline.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_pipeline.yml b/.github/workflows/ci_pipeline.yml index 7217f432c..86d50428c 100644 --- a/.github/workflows/ci_pipeline.yml +++ b/.github/workflows/ci_pipeline.yml @@ -17,10 +17,9 @@ jobs: id: update_version run: | version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) - next_version=$(echo $version | awk -F'[.-]' '{print $1"."$2"."$3+1}') - echo "nextVersion=$next_version" >> "$GITHUB_ENV" - echo $nextVersion >> version.txt + next_version=$(echo $version | awk -F'[.-]' '{print $1"."$2"."$3+1}') >> $GITHUB_ENV mvn versions:set -DnewVersion=$next_version + echo "${{ env.next_version }}" > version.txt # - name: Compile Code and Package Artifact # working-directory: ./myapp