mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 18:22:08 -07:00
[CI-SKIP] Ignore gitignore when adding files in automation
Continuation of #5387 Fixes #5456
This commit is contained in:
@@ -54,7 +54,7 @@ do
|
||||
mkdir -p "$(dirname $cb/"$file")"
|
||||
cp "$nms/$file" "$cb/$file"
|
||||
done < <(find nms-patches -type f -print0)
|
||||
$gitcmd add src
|
||||
$gitcmd add --force src
|
||||
$gitcmd commit -m "Minecraft $ $(date)" --author="Vanilla <auto@mated.null>"
|
||||
|
||||
# apply patches
|
||||
@@ -71,7 +71,7 @@ do
|
||||
"$patch" -d src/main/java -p 1 < "$patchFile"
|
||||
done < <(find nms-patches -type f -print0)
|
||||
|
||||
$gitcmd add src
|
||||
$gitcmd add --force src
|
||||
$gitcmd commit -m "CraftBukkit $ $(date)" --author="CraftBukkit <auto@mated.null>"
|
||||
$gitcmd checkout -f HEAD~2
|
||||
)
|
||||
|
Reference in New Issue
Block a user