Add friendly check for jq
This commit is contained in:
parent
68401caf1c
commit
02794f368b
@ -3,6 +3,15 @@
|
|||||||
|
|
||||||
echo "▶️ $0 $*"
|
echo "▶️ $0 $*"
|
||||||
|
|
||||||
|
###
|
||||||
|
# Check for the jq library needed for parsing JSON
|
||||||
|
###
|
||||||
|
if [ ! command -v jq &> /dev/null ]
|
||||||
|
then
|
||||||
|
echo "⚠️ PRERELEASE must be either unset, 'true' or 'false', but was '${PRERELEASE}'!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
###
|
###
|
||||||
# Checking for the presence of GITHUB_OAUTH_CLIENT_ID
|
# Checking for the presence of GITHUB_OAUTH_CLIENT_ID
|
||||||
# and GITHUB_OAUTH_CLIENT_SECRET
|
# and GITHUB_OAUTH_CLIENT_SECRET
|
||||||
|
Loading…
Reference in New Issue
Block a user