1
0
mirror of https://github.com/fluencelabs/tendermint synced 2025-06-28 20:21:47 +00:00
Files
.github
DOCKER
benchmarks
blockchain
cmd
config
consensus
docs
mempool
node
p2p
proxy
rpc
scripts
debora
glide
tendermint-builder
txs
README.md
dist.sh
dist_build.sh
install_abci_apps.sh
publish.sh
state
test
types
version
.codecov.yml
.editorconfig
.gitignore
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
INSTALL.md
LICENSE
Makefile
README.md
Vagrantfile
circle.yml
glide.lock
glide.yaml
tendermint/scripts/publish.sh

20 lines
432 B
Bash
Raw Normal View History

2017-03-07 13:43:51 -05:00
#!/usr/bin/env bash
2017-06-02 23:20:02 -04:00
set -e
2017-03-07 13:43:51 -05:00
VERSION=$1
2017-06-02 23:20:02 -04:00
DIST_DIR=./build/dist
2017-03-07 13:43:51 -05:00
# 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
# copy to s3
2017-06-02 23:20:02 -04:00
aws s3 cp --recursive ${DIST_DIR} s3://tendermint/binaries/tendermint/v${VERSION} --acl public-read
2017-03-07 13:43:51 -05:00
exit 0