mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
hack/cherry_pick_pull.sh: cleanup patch files
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
parent
407d8b7c19
commit
50343c20c9
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user