mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 02:38:12 +00:00
hack/cherry_pick_pull.sh: cleanup patch files
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user