X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=github-merge-pr.sh;fp=github-merge-pr.sh;h=16a661d2fb4fb28406ddb825e651be2015f526aa;hb=727eb6a24b9794fc035c4a4fef9396a2428a2a1a;hp=64cd6bff1046c236d4f4c0e0ba0fa0b240653490;hpb=a598bb4775856efbc62de7ce9959c4f44bd8dbbb;p=maintainer-tools.git diff --git a/github-merge-pr.sh b/github-merge-pr.sh index 64cd6bf..16a661d 100755 --- a/github-merge-pr.sh +++ b/github-merge-pr.sh @@ -137,7 +137,7 @@ if [ "$(echo "$PR_INFO" | jq -r ".maintainer_can_modify")" == "true" ]; then # Remove any previous SoB tag if the Pull Request Author and Committer match if ! $GIT filter-repo --message-callback " - return message.replace(b\"Signed-off-by: $(git config user.name) <$(git config user.email)>\",b\"\") + return message.replace(b\"Signed-off-by: $(git config user.name) <$(git config user.email)>\n\",b\"\") " --refs $BRANCH..$LOCAL_PR_BRANCH --force; then echo "Failed to remove previous Committer SoB tag" >&2 exit 9