Invert grep flags
This commit is contained in:
parent
9481a95a1a
commit
10292c8f52
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue