[CI-SKIP] Ignore gitignore when adding files in automation
Continuation of #5387 Fixes #5456
This commit is contained in:
parent
d8e384a164
commit
304a216ba5
5 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue