File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,16 @@ jobs:
121121 echo "git_commit=$(git show --format="%h" --no-patch)" >> $GITHUB_OUTPUT
122122
123123 - name : Commit pom.xml and version.json
124- if : ${{ inputs.version_number_input == '' }}
124+ if : ${{ inputs.version_number_input == '' && steps.checkRelease.outputs.IS_RELEASE != 'true' }}
125+ uses : EndBug/add-and-commit@v9
126+ with :
127+ add : ' pom.xml version.json'
128+ author_name : Release Workflow
129+ 130+ message : ' Released ${{ inputs.release_type }} version: ${{ steps.version.outputs.new_version }}'
131+
132+ - name : Commit pom.xml, version.json and set tag
133+ if : ${{ inputs.version_number_input == '' && steps.checkRelease.outputs.IS_RELEASE == 'true' }}
125134 uses : EndBug/add-and-commit@v9
126135 with :
127136 add : ' pom.xml version.json'
You can’t perform that action at this time.
0 commit comments