mirror of https://github.com/etcd-io/dbtester.git
16 lines
320 B
Bash
Executable File
16 lines
320 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
rm -f /tmp/consul.zip
|
|
curl -sf -o /tmp/consul.zip https://releases.hashicorp.com/consul/1.0.2/consul_1.0.2_linux_amd64.zip
|
|
|
|
rm -f ${GOPATH}/bin/consul
|
|
unzip /tmp/consul.zip -d ${GOPATH}/bin
|
|
rm -f /tmp/consul.zip
|
|
|
|
consul version
|
|
|
|
<<COMMENT
|
|
https://github.com/hashicorp/consul/releases
|
|
COMMENT
|