diff --git a/scripts/upstreamMerge.sh b/scripts/upstreamMerge.sh index 02376dc7a..319a71695 100755 --- a/scripts/upstreamMerge.sh +++ b/scripts/upstreamMerge.sh @@ -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