Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/actions/cd/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ runs:
echo "::error::No release version change found in pom.xml"
exit 1
fi
git commit -m "Release ${{ inputs.new-version }}"
RELEASE_VERSION="$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)"
git commit -m "Release ${RELEASE_VERSION}"
git push "https://x-access-token:${{ inputs.version-push-pat }}@github.com/${{ github.repository }}.git" "HEAD:${{ github.ref_name }}"
- name: Set release metadata env variables
shell: bash
Expand Down