Add json validity check
This commit is contained in:
parent
94254df35a
commit
1759f41d1a
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,10 @@ declare release_dir="$dir/releases/$timestamp"
|
||||||
echo "-> Pulling latest release"
|
echo "-> Pulling latest release"
|
||||||
git pull
|
git pull
|
||||||
|
|
||||||
|
echo "-> Checking validity of data.json"
|
||||||
|
cat src/data.json | json_verify
|
||||||
|
|
||||||
|
|
||||||
# Create release dir and copy sources to that dir
|
# Create release dir and copy sources to that dir
|
||||||
echo "-> This release will be stored in $release_dir"
|
echo "-> This release will be stored in $release_dir"
|
||||||
mkdir -p "$release_dir"
|
mkdir -p "$release_dir"
|
||||||
|
|
Loading…
Reference in a new issue