Make sure the build script fails if the gradle publishing fails

This commit is contained in:
Jorge Martín
2025-02-14 14:49:47 +01:00
parent af3920fce7
commit ffee44efff

View File

@@ -55,7 +55,10 @@ else
copy_assets
fi
# Exit with an error if the gradle publishing fails
set -e
echo "Publishing the Android project"
./gradlew publishAllPublicationsToGithubPackagesRepository
./gradlew publishAllPublicationsToGithubPackagesRepository --no-daemon
popd > /dev/null