Skip to content

Commit

Permalink
Fix gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-muller666 committed Jul 26, 2024
1 parent 7bc0dd3 commit 306e514
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
distribution: 'adopt'

- name: Generate version tag and build
id: version_info
run: |
git fetch --tags
MAJOR_MINOR=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout | sed -E 's/([0-9]+\.[0-9]+).*/\1/')
Expand Down Expand Up @@ -112,8 +113,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ needs.build-application.outputs.VERSION_TAG }}
release_name: Release ${{ needs.build-application.outputs.PROJECT_VERSION }}
tag_name: ${{ needs.build-application.outputs.version_info.outputs.VERSION_TAG }}
release_name: Release ${{ needs.build-application.outputs.version_info.outputs.PROJECT_VERSION }}
body: |
Test release
draft: false
Expand Down

0 comments on commit 306e514

Please sign in to comment.