Skip to content

Build your personal knowledge base with Trilium Notes

bin/release: Fail if jq is missing

Elian Doranf678c4337b06
diff --git a/bin/release.sh b/bin/release.sh
index 65610c229a..938fa31dd8 100755
--- a/bin/release.sh
+++ b/bin/release.sh
@@ -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}(-.+)?$ ]] ;