Skip to content

Commit

Permalink
Fix setting of identity for commenting patch
Browse files Browse the repository at this point in the history
  • Loading branch information
kfischer-okarin committed Feb 5, 2021
1 parent 1a86b44 commit 8e52fe2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create-patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
fetch-depth: 0
- name: Create Patch
run: |
git config user.email "$AUTHOR_EMAIL"
git config user.name "$AUTHOR_NAME"
git rev-parse --abbrev-ref HEAD > .branch-name
git checkout develop
git checkout -b patch
git merge --squash `cat .branch-name`
git config --global user.email "$AUTHOR_EMAIL"
git config --global user.name "$AUTHOR_NAME"
git commit -m "Patch for `cat .branch-name`"
PATCH_FILE=`cat .branch-name | sed 's/\//_/g'`.patch # Replace forward slash in branch name with _
git format-patch develop..HEAD --stdout -k > $PATCH_FILE
Expand Down

0 comments on commit 8e52fe2

Please sign in to comment.