Last active
January 25, 2021 19:09
-
-
Save duccas/4336276ee64c9106150f98e0d1476e0a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
VERSION=$1 | |
if [ "$VERSION" == "" ]; then | |
VERSION="1.1.3" | |
fi | |
cd \ | |
&& export VERSION="$VERSION" \ | |
&& wget https://github.com/ava-labs/avalanchego/releases/download/v$VERSION/avalanchego-linux-amd64-v$VERSION.tar.gz \ | |
&& tar -xvf avalanchego-linux-amd64-v$VERSION.tar.gz \ | |
&& cd avalanchego-v$VERSION \ | |
&& ./avalanchego | |
echo "--------AVALANCHE VERSION v$VERSION UPDATED--------" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment