15 lines
354 B
Bash
15 lines
354 B
Bash
|
#!/bin/sh
|
||
|
# upgrade-gaiad - example make call to upgrade gaiad on a set of nodes in AWS
|
||
|
# WARNING: Run it from the current directory - it uses relative paths to ship the binary and the genesis.json,config.toml files
|
||
|
|
||
|
if [ $# -ne 1 ]; then
|
||
|
echo "Usage: ./upgrade-gaiad.sh <clustername>"
|
||
|
exit 1
|
||
|
fi
|
||
|
set -eux
|
||
|
|
||
|
export CLUSTER_NAME=$1
|
||
|
|
||
|
make upgrade-gaiad
|
||
|
|