From 494840cfbd990c4d9b272103ad9f3d7ececaaf5d Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 7 Nov 2022 11:17:56 +0100 Subject: [PATCH] publish for 720h --- tools/new_file_in_astroport.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/new_file_in_astroport.sh b/tools/new_file_in_astroport.sh index abb7e8014..c85c3fe63 100755 --- a/tools/new_file_in_astroport.sh +++ b/tools/new_file_in_astroport.sh @@ -360,7 +360,7 @@ NEWIPFS=$(ipfs add -rHq ~/.zen/game/players/$PLAYER/ipfs/.${IPFSNODEID}/KEY/${ME echo $NEWIPFS > ~/.zen/game/players/$PLAYER/ipfs/.${IPFSNODEID}/KEY/${MEDIAKEY}/.chain echo "ipfs name publish --quieter --key=${MEDIAKEY} $NEWIPFS" -IPNS=$(ipfs name publish --quieter --key="${MEDIAKEY}" $NEWIPFS) +IPNS=$(ipfs name publish -t 720h --quieter --key="${MEDIAKEY}" $NEWIPFS) [[ "$IPNS" == "" ]] && \ echo "~~~ PROBLEM ~~~ ipfs name publish --quieter --key=${MEDIAKEY} $NEWIPFS" && \ IPNS="$(ipfs key list -l | grep -w ${MEDIAKEY} | cut -f 1 -d ' ')"