From 16b40a5725d813dd163a6af9a76cd27b29d5e291 Mon Sep 17 00:00:00 2001 From: Jonas Herzig Date: Sun, 10 Jun 2018 17:58:44 +0200 Subject: [PATCH] Only try to sign jars if the current call built any --- gradle/reprod/setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/gradle/reprod/setup.sh b/gradle/reprod/setup.sh index 439bf93f..46d93973 100755 --- a/gradle/reprod/setup.sh +++ b/gradle/reprod/setup.sh @@ -49,6 +49,7 @@ if [ "$(git blame -p version.txt | head -n1 | cut -d' ' -f1)" == "$(git rev-pars pushd versions for ver in */; do [ "$ver" == "core/" ] && continue + [ -d "$ver/build/libs" ] || continue pushd "$ver" # Note: This requires there to be one and only one jar file (ignoring source artifacts) jar="build/libs/$(ls build/libs | grep -v sources)"