From 10292c8f52c21742b1820a4f29f622f4df3675f7 Mon Sep 17 00:00:00 2001 From: redfast00 Date: Sun, 12 Aug 2018 11:25:19 +0200 Subject: [PATCH] Invert grep flags --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 791d66d..556cf02 100755 --- a/deploy.sh +++ b/deploy.sh @@ -10,7 +10,7 @@ declare release_dir="$dir/releases/$timestamp" # Pull latest revision echo "-> Pulling latest release" -git pull | grep -q -v 'Already up-to-date.' && echo "Already up-to-date" && exit 0 +git pull | grep 'Already up-to-date.' && echo "No updates, exiting..." && exit 0 echo "-> Checking validity of data.json" jsonlint src/data.json