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 2fc13b4 commit 6057d6b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
id: update_version
run: |
version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
nextVersion=$(echo $version | awk -F'[.-]' '{print $1"."$2"."$3+1}') >> $GITHUB_ENV
mvn versions:set -DnewVersion=$nextVersion
echo "nextVersion=$nextVersion" >> "$GITHUB_ENV"
echo $nextVersion >> version.txt
newVersion=$(echo $version | awk -F'[.-]' '{print $1"."$2"."$3+1}') >> $GITHUB_ENV
mvn versions:set -DnewVersion=$newVersion
echo "newVersion=$newVersion" >> "$GITHUB_ENV"
echo $newVersion >> version.txt
# - name: Compile Code and Package Artifact
# working-directory: ./myapp
Expand Down

0 comments on commit 6057d6b

Please sign in to comment.