nextcloud-android/scripts/analysis/detectSNAPSHOT.sh
tobiasKaminsky 38e27420c3
Detect dependencies with snapshot
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-01-05 09:38:34 +01:00

10 lines
172 B
Bash
Executable file

#!/bin/bash
count=$(./gradlew dependencies | grep SNAPSHOT | grep -v "com.github.nextcloud:android-library" -c)
if [ $count -eq 0 ] ; then
exit 0
else
exit 1
fi