mirror of https://github.com/k3s-io/k3s
Merge pull request #38783 from jessfraz/cleanup
Automatic merge from submit-queue (batch tested with PRs 38783, 36396) hack/cherry_pick_pull.sh: cleanup patch files this was driving me nuts. it will now remove the patch files from /tmppull/6/head
commit
68b93b05f3
|
@ -173,9 +173,13 @@ for pull in "${PULLS[@]}"; do
|
|||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
# set the subject
|
||||
subject=$(grep -m 1 "^Subject" "/tmp/${pull}.patch" | sed -e 's/Subject: \[PATCH//g' | sed 's/.*] //')
|
||||
SUBJECTS+=("#${pull}: ${subject}")
|
||||
|
||||
# remove the patch file from /tmp
|
||||
rm -f "/tmp/${pull}.patch"
|
||||
done
|
||||
gitamcleanup=false
|
||||
|
||||
|
|
Loading…
Reference in New Issue