Skip to content

Commit 8787245

Browse files
Copilotpetesramek
andauthored
fix: configure git identity before creating annotated tag in create-release action
Agent-Logs-Url: https://github.com/petesramek/polyline-algorithm-csharp/sessions/c84a8f7f-a0df-4033-86f8-0d7121d0ffae Co-authored-by: petesramek <2333452+petesramek@users.noreply.github.com>
1 parent 1840e67 commit 8787245

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/actions/github/create-release/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ runs:
2525
echo "notes-start-tag=${{ inputs.notes-start-tag }}"
2626
echo "notes-start-tag-argument=${{ inputs.notes-start-tag != '' && format('--notes-start-tag {0}', inputs.notes-start-tag) || '' }}"
2727
shell: bash
28+
- name: 'Configure git identity'
29+
shell: bash
30+
run: |
31+
git config user.name "$(git log -n 1 --pretty=format:%an)"
32+
git config user.email "$(git log -n 1 --pretty=format:%ae)"
2833
- name: 'Create git tag ${{ inputs.release-version }}'
2934
shell: bash
3035
run: |

0 commit comments

Comments
 (0)