always clean patches
Dieser Commit ist enthalten in:
Ursprung
7455e115d0
Commit
e8649166ae
@ -29,14 +29,13 @@ function savePatches {
|
||||
target=$2
|
||||
echo "Formatting patches for $what..."
|
||||
cd "$basedir/$target"
|
||||
rm -rf "$basedir/${what}-Patches/"
|
||||
git format-patch --no-stat -N -o "$basedir/${what}-Patches/" upstream/upstream >/dev/null
|
||||
cd "$basedir"
|
||||
git add -A "$basedir/${what}-Patches"
|
||||
cleanupPatches "$basedir/${what}-Patches"
|
||||
echo " Patches saved for $what to $what-Patches/"
|
||||
}
|
||||
if [ "$1" == "clean" ]; then
|
||||
rm -rf Spigot-*-Patches
|
||||
fi
|
||||
|
||||
savePatches Spigot-API Paper-API
|
||||
savePatches Spigot-Server Paper-Server
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren