mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 15:30:19 +01:00
Clean cache on upstream update
This commit is contained in:
parent
b0fe32db5f
commit
7a5a3e1f9b
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ fi
|
||||||
if [ "$updated" == "1" ]; then
|
if [ "$updated" == "1" ]; then
|
||||||
echo "Rebuilding patches without filtering to improve apply ability"
|
echo "Rebuilding patches without filtering to improve apply ability"
|
||||||
cd "$basedir"
|
cd "$basedir"
|
||||||
|
./gradlew cleanCache || exit 1 # todo: Figure out why this is necessary
|
||||||
./gradlew applyPatches -Dpaperweight.debug=true || exit 1
|
./gradlew applyPatches -Dpaperweight.debug=true || exit 1
|
||||||
./gradlew rebuildPatches || exit 1
|
./gradlew rebuildPatches || exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue