Skip to content

Commit

Permalink
Use version from pom
Browse files Browse the repository at this point in the history
  • Loading branch information
testower committed Sep 17, 2024
1 parent 104ea59 commit 6156d45
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ aliases:
- &tag-git-version
name: Tag git commit with build version and push to github
command: |
VERSION=$(mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive exec:exec)
git config --global user.email "[email protected]"
git config --global user.name "circleci"
git tag v0.0.1-$CIRCLE_BUILD_NUM
git push origin v0.0.1-$CIRCLE_BUILD_NUM
git tag v$VERSION-$CIRCLE_BUILD_NUM
git push origin v$VERSION-$CIRCLE_BUILD_NUM
- &sonar-scan
name: Sonar scan
command: |
Expand Down

0 comments on commit 6156d45

Please sign in to comment.