1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-03-25 00:07:36 +01:00

Clean cache on upstream update

This commit is contained in:
Jason Penilla 2021-06-15 01:38:41 -07:00
parent 3846367c2d
commit 89860077fa
No known key found for this signature in database
GPG key ID: 0E75A301420E48F8

View file

@ -34,6 +34,7 @@ fi
if [ "$updated" == "1" ]; then
echo "Rebuilding patches without filtering to improve apply ability"
cd "$basedir"
./gradlew cleanCache || exit 1 # todo: Figure out why this is necessary
./gradlew applyPatches -Dpaperweight.debug=true || exit 1
./gradlew rebuildPatches || exit 1
fi