Update script - fix snapshot reporting

This commit is contained in:
Marius Bogoevici
2017-07-19 10:47:30 -04:00
parent 5dccbb9690
commit 6cc0b08dcd

View File

@@ -7,7 +7,7 @@
lines=$(find . -name 'pom.xml' | xargs egrep "SNAPSHOT|M[0-9]|RC[0-9]" | grep -v regex | wc -l)
lines=$(find . -name 'pom.xml' | xargs egrep "SNAPSHOT" | grep -v regex | wc -l)
if [ $lines -eq 0 ]; then
echo "No snapshots found"
else