Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
vladi14 committed Nov 11, 2023
1 parent 5e2df1c commit a7751ab
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7751ab

Please sign in to comment.