aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2024-05-07 15:49:15 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2024-05-07 18:23:26 +0100
commita05ee4df12d6f8c0aafa93cbb3afff216faadb1a (patch)
treef86d377d7b25bc3d3c56b8ce86445a07d3f4eb9d
parent1cacc81b770f2f7f22ddf3edddc7137bc3eafe4e (diff)
downloadarti-a05ee4df12d6f8c0aafa93cbb3afff216faadb1a.tar.gz
arti-a05ee4df12d6f8c0aafa93cbb3afff216faadb1a.zip
maint/cargo-publish: Bespoke message from missing jq
As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2118#note_3027375
-rwxr-xr-xmaint/cargo-publish2
1 files changed, 2 insertions, 0 deletions
diff --git a/maint/cargo-publish b/maint/cargo-publish
index 9a3325f25..b3ee29d96 100755
--- a/maint/cargo-publish
+++ b/maint/cargo-publish
@@ -78,6 +78,8 @@ esac
#===== checks and preparation =====
+jq </dev/null . || fail "jq is not installed, try apt install jq"
+
#----- check that we are identical to our main repo's `main`
# shellcheck disable=SC2086 # we want to split on spaces in $origin