From d0e793b1c0512937047c0203e60ad49ca914bc70 Mon Sep 17 00:00:00 2001 From: James Walker Date: Sat, 4 Feb 2023 22:26:09 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20pin=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pin.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pin.sh b/pin.sh index eeafae5..ed3af5e 100755 --- a/pin.sh +++ b/pin.sh @@ -17,8 +17,9 @@ root_cid=$(ipfs-cluster-ctl \ --local \ $PLUGIN_EXTRA_ARGS \ "$PLUGIN_PATH" ) || { - echo "ipfs-cluster-ctl --host $HOST --basic-auth *** $PLUGIN_CLUSTER_ARGS add --quieter --local --wait --cid-version 1 --name $PLUGIN_DOMAIN --recursive $PLUGIN_PATH" - echo "FAILED to pin" + echo "ipfs-cluster-ctl --host $HOST --basic-auth *** $PLUGIN_CLUSTER_ARGS add --quieter --local --cid-version 1 --name $PLUGIN_DOMAIN --recursive $PLUGIN_PATH" 1>&2 + echo "$root_cid" 1>&2 + echo "Failed to pin to cluster" 1>&2 false } echo "Deployed: $root_cid"