.github: clean up an unnecessary patch file

After applying a patch file, we should clean up the unnecessary patch
file, to avoid conflicts when applying multiple patches in one PR.
This commit is contained in:
Dongsu Park 2021-09-30 14:13:10 +02:00 committed by Dongsu Park
parent 1003d2e225
commit b1e2d22d03

View File

@ -87,4 +87,5 @@ function apply_patches() {
git fetch origin
git checkout -B "${BASE_BRANCH}" "origin/${BASE_BRANCH}"
git am "${SDK_OUTER_SRCDIR}"/third_party/coreos-overlay/0*.patch
rm -f "${SDK_OUTER_SRCDIR}"/third_party/coreos-overlay/0*.patch
}