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 /tmp
pull/6/head
Kubernetes Submit Queue 2016-12-14 17:54:49 -08:00 committed by GitHub
commit 68b93b05f3
1 changed files with 4 additions and 0 deletions

View File

@ -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