sudo systemctl stop story
cd $HOME
rm story-linux-amd64
wget https://github.com/piplabs/story/releases/download/v0.13.1/story-linux-amd64
chmod +x story-linux-amd64cp $HOME/story-linux-amd64 $HOME/go/bin/story
source $HOME/.bash_profilestory version
sudo systemctl daemon-reload && \
sudo systemctl start story && \
sudo journalctl -u story -f -o cat
mkdir -p $HOME/.story/story/cosmovisor/upgrades/v0.13.1/bin
#download binay
cd $HOME
rm story-linux-amd64
wget https://github.com/piplabs/story/releases/download/v0.13.1/story-linux-amd64
chmod +x story-linux-amd64
# Copy new version binary to upgrade folder
sudo cp $HOME/story-linux-amd64 $HOME/.story/story/cosmovisor/upgrades/v0.13.1/bin/story
sudo systemctl stop story
# Check current symlink
ls -l /root/.story/story/cosmovisor/current
# remove current symlink
rm /root/.story/story/cosmovisor/current
# Update symlink point to v0.13.1
ln -s $HOME/.story/story/cosmovisor/upgrades/v0.13.1 $HOME/.story/story/cosmovisor/current
sudo systemctl daemon-reload && \
sudo systemctl start story && \
sudo journalctl -u story -f -o cat