2015-06-24 23:30:12 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
REPO_DIR=`mktemp -d`
|
|
|
|
echo "Using $REPO_DIR for all work..."
|
|
|
|
|
|
|
|
cd $REPO_DIR
|
|
|
|
export GOPATH=$PWD
|
|
|
|
mkdir -p $GOPATH/src/github.com/influxdb
|
|
|
|
cd $GOPATH/src/github.com/influxdb
|
|
|
|
git clone https://github.com/influxdb/influxdb.git
|
|
|
|
|
|
|
|
cd $GOPATH/src/github.com/influxdb/influxdb
|
2015-06-25 23:35:47 +00:00
|
|
|
NIGHTLY_BUILD=true ./package.sh `git describe --tags | sed -e s/^v//`
|
2015-06-24 23:33:16 +00:00
|
|
|
rm -rf $REPO_DIR
|