mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-12 22:50:37 +00:00
fix(ci/update-nightly): apply patch correctly (#2607)
Signed-off-by: madomado <madonuko@outlook.com>
This commit is contained in:
@@ -38,12 +38,11 @@ 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^
|
||||
copy_over () {
|
||||
git format-patch HEAD^
|
||||
git checkout $1
|
||||
git apply *.patch || true
|
||||
rm *.patch
|
||||
git add *
|
||||
git add anda
|
||||
git commit -S -a -m "$msg"
|
||||
}
|
||||
copy_over f39 || true
|
||||
|
||||
Reference in New Issue
Block a user