We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a86b44 commit 8e52fe2Copy full SHA for 8e52fe2
.github/workflows/create-patch.yml
@@ -15,12 +15,12 @@ jobs:
15
fetch-depth: 0
16
- name: Create Patch
17
run: |
18
+ git config user.email "$AUTHOR_EMAIL"
19
+ git config user.name "$AUTHOR_NAME"
20
git rev-parse --abbrev-ref HEAD > .branch-name
21
git checkout develop
22
git checkout -b patch
23
git merge --squash `cat .branch-name`
- git config --global user.email "$AUTHOR_EMAIL"
- git config --global user.name "$AUTHOR_NAME"
24
git commit -m "Patch for `cat .branch-name`"
25
PATCH_FILE=`cat .branch-name | sed 's/\//_/g'`.patch # Replace forward slash in branch name with _
26
git format-patch develop..HEAD --stdout -k > $PATCH_FILE
0 commit comments