Commit 68b93b05 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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
parents 3479522d 50343c20
...@@ -173,9 +173,13 @@ for pull in "${PULLS[@]}"; do ...@@ -173,9 +173,13 @@ for pull in "${PULLS[@]}"; do
exit 1 exit 1
fi fi
} }
# set the subject # set the subject
subject=$(grep -m 1 "^Subject" "/tmp/${pull}.patch" | sed -e 's/Subject: \[PATCH//g' | sed 's/.*] //') subject=$(grep -m 1 "^Subject" "/tmp/${pull}.patch" | sed -e 's/Subject: \[PATCH//g' | sed 's/.*] //')
SUBJECTS+=("#${pull}: ${subject}") SUBJECTS+=("#${pull}: ${subject}")
# remove the patch file from /tmp
rm -f "/tmp/${pull}.patch"
done done
gitamcleanup=false gitamcleanup=false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment