Only try to sign jars if the current call built any
This commit is contained in:
@@ -49,6 +49,7 @@ if [ "$(git blame -p version.txt | head -n1 | cut -d' ' -f1)" == "$(git rev-pars
|
|||||||
pushd versions
|
pushd versions
|
||||||
for ver in */; do
|
for ver in */; do
|
||||||
[ "$ver" == "core/" ] && continue
|
[ "$ver" == "core/" ] && continue
|
||||||
|
[ -d "$ver/build/libs" ] || continue
|
||||||
pushd "$ver"
|
pushd "$ver"
|
||||||
# Note: This requires there to be one and only one jar file (ignoring source artifacts)
|
# Note: This requires there to be one and only one jar file (ignoring source artifacts)
|
||||||
jar="build/libs/$(ls build/libs | grep -v sources)"
|
jar="build/libs/$(ls build/libs | grep -v sources)"
|
||||||
|
|||||||
Reference in New Issue
Block a user