publish only if chain is different
This commit is contained in:
parent
8446c9cca7
commit
2a0354a17d
|
@ -14,6 +14,6 @@ if [[ "$OLDCHAIN" != "$MIPFS" ]] # MODIFY CHAIN only if something was changed
|
||||||
then
|
then
|
||||||
echo "$(date -u +%s%N | cut -b1-13)" > ~/.zen/ipfs/.${IPFSNODEID}/.timestamp
|
echo "$(date -u +%s%N | cut -b1-13)" > ~/.zen/ipfs/.${IPFSNODEID}/.timestamp
|
||||||
echo $MIPFS > ~/.zen/ipfs/.${IPFSNODEID}/.chain
|
echo $MIPFS > ~/.zen/ipfs/.${IPFSNODEID}/.chain
|
||||||
|
NODEIPNS=$(ipfs name publish --quieter /ipfs/$MIPFS)
|
||||||
fi
|
fi
|
||||||
NODEIPNS=$(ipfs name publish --quieter /ipfs/$MIPFS)
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
|
Loading…
Reference in New Issue