🔄 Story Manuel Upgrade

This guide allows you to manually upgrade the story and story-geth binaries from a specific GitHub tag without using the auto-upgrade script.


📦 Update story Binary

1. Set the target version tag

STORY_TAG="v1.2.0"

2. Clone and checkout the repository

rm -rf $HOME/tmp-manual-upgrade/story
git clone https://github.com/piplabs/story $HOME/tmp-manual-upgrade/story
cd $HOME/tmp-manual-upgrade/story
git checkout "$STORY_TAG"

3. Build the binary

go build -o $HOME/tmp-manual-upgrade/story_binary ./client

4. Replace binary and restart service

sudo mv $HOME/tmp-manual-upgrade/story_binary $HOME/go/bin/story
sudo systemctl restart story

⚙️ Update story-geth Binary

1. Set the target version tag

GETH_TAG="v1.0.2"

2. Clone and checkout the repository

rm -rf $HOME/tmp-manual-upgrade/story-geth
git clone https://github.com/piplabs/story-geth $HOME/tmp-manual-upgrade/story-geth
cd $HOME/tmp-manual-upgrade/story-geth
git checkout "$GETH_TAG"

3. Build the binary

go build -o $HOME/tmp-manual-upgrade/geth_binary ./cmd/geth

4. Replace binary and restart service

sudo mv $HOME/tmp-manual-upgrade/geth_binary $HOME/go/bin/story-geth
sudo systemctl restart story-geth