Skip to content

Commit

Permalink
bin/release: Fail if jq is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Jul 14, 2024
1 parent 686b9c8 commit f678c43
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ if [[ $# -eq 0 ]] ; then
exit 1
fi

if ! command -v jq &> /dev/null; then
echo "Missing command: jq"
exit 1
fi

VERSION=$1

if ! [[ ${VERSION} =~ ^[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(-.+)?$ ]] ;
Expand Down

0 comments on commit f678c43

Please sign in to comment.