Skip to content

Commit e997c9f

Browse files
authored
[internal] Update GitHub Actions workflow files (#234)
1 parent be1e3e3 commit e997c9f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/upstream.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,12 @@ start_rebase() {
9191

9292
for patch in ../patches/*.patch; do
9393
echo "Applying $patch"
94-
if ! git apply --3way "$patch"; then
94+
if ! git am --3way "$patch"; then
9595
echo
9696
echo "Failed to apply patch. Please run 'make upstream.rebase FROM=$TAG' where '$TAG' allows the patch set to apply cleanly"
9797
echo
9898
exit 1
9999
fi
100-
patch=${patch#../patches/*-}
101-
git commit -am "${patch%.patch}"
102100
done
103101

104102
touch ../rebase-in-progress

0 commit comments

Comments
 (0)