Found cause of bug: up to date vs up-to-date
This commit is contained in:
parent
1e7b400d18
commit
f2220626e7
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,8 @@ declare release_dir="$dir/releases/$timestamp"
|
|||
|
||||
# Pull latest revision
|
||||
echo "-> Pulling latest release"
|
||||
git pull | grep 'Already up to date.' && echo "No updates, exiting..." && exit 0
|
||||
# Apparently, some systems put "up to date", while others put "up-to-date"
|
||||
git pull | grep -q 'Already up-?to-?date.' && echo "No updates, exiting..." && exit 20
|
||||
|
||||
echo "-> Checking validity of data.json"
|
||||
jsonlint src/data.json
|
||||
|
|
Loading…
Reference in a new issue