Skip to content

Commit

Permalink
upgrade version
Browse files Browse the repository at this point in the history
  • Loading branch information
dasanchez committed Dec 11, 2024
1 parent 4a81dcd commit 0d2234b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/upgrade-gaia-v22-serviceless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@
if: ${{ matrix.upgrade_version == 'main' }}
run: |
source scripts/vars.sh
export UPGRADE_VERSION=${{ matrix.upgrade_version }}
export UPGRADE_VERSION=$TARGET_VERSION
export BINARY_SOURCE=BUILD
scripts/upgrade.sh
Expand Down
2 changes: 1 addition & 1 deletion scripts/upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ elif [ "$UPGRADE_BINARY_SOURCE" = "BUILD" ]; then
echo "> Building binary"
git clone https://github.com/cosmos/gaia.git
pushd gaia
git checkout $UPGRADE_VERSION
git checkout $UPGRADE_COMMIT
make build
popd
cp gaia/build/gaiad $CHAIN_BINARY
Expand Down
1 change: 1 addition & 0 deletions scripts/vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export validator_count=5

# Upgrade configuration
export UPGRADE_VERSION=v21.0.0
export UPGRADE_COMMIT=main
export UPGRADE_BINARY_SOURCE=DOWNLOAD
export UPGRADE_BINARY_URL=https://github.com/cosmos/gaia/releases/download/$UPGRADE_VERSION/gaiad-$UPGRADE_VERSION-linux-amd64

Expand Down

0 comments on commit 0d2234b

Please sign in to comment.