fix: fix nightly patch mechanism (#418)

This commit is contained in:
lleyton
2023-05-03 19:03:16 -07:00
committed by GitHub
parent fe5cb79e96
commit 01c336a4e8
+8 -9
View File
@@ -38,14 +38,13 @@ jobs:
git config user.signingkey "${{ runner.temp }}/signing_key"
msg="bump(nightly): $(git status | grep modified | sed -r 's@.+/([^/]+)/[^/]+\n?@\1 @g' | tr -d '\n')"
git commit -S -a -m "$msg"
git format-patch HEAD^
git checkout f38
git apply *.patch || true
git add anda
git commit -S -a -m "$msg"
git checkout f37
git apply *.patch || true
git add anda
git commit -S -a -m "$msg"
f37 () {
git format-patch HEAD^
git checkout f37
git apply *.patch || true
git add *
git commit -S -a -m "$msg"
}
f37 || true
git push -u origin --all
fi