https://github.com/tendermint/tendermint
Raw File
Tip revision: 8a49364b5e5516c6a7e2b1f6d015d353fbd91cb9 authored by Ethan Buchman on 01 June 2018, 19:27:59 UTC
update Evidence type - requires pubkey and valset to verify and convert to abci.Evidence
Tip revision: 8a49364
publish.sh
#!/usr/bin/env bash
set -e

VERSION=$1 
DIST_DIR=./build/dist

# Get the version from the environment, or try to figure it out.
if [ -z $VERSION ]; then
	VERSION=$(awk -F\" '/Version =/ { print $2; exit }' < version/version.go)
fi
if [ -z "$VERSION" ]; then
    echo "Please specify a version."
    exit 1
fi
echo "==> Copying ${DIST_DIR} to S3..."

# copy to s3
aws s3 cp --recursive ${DIST_DIR} s3://tendermint/binaries/tendermint/v${VERSION} --acl public-read 

exit 0
back to top