2015-06-24 23:30:12 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
REPO_DIR=`mktemp -d`
|
|
|
|
echo "Using $REPO_DIR for all work..."
|
|
|
|
|
|
|
|
cd $REPO_DIR
|
2015-07-30 05:09:38 +00:00
|
|
|
export GOPATH=`pwd`
|
2015-06-24 23:30:12 +00:00
|
|
|
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-08-19 00:57:49 +00:00
|
|
|
NIGHTLY_BUILD=true ./package.sh 0.9.4-nightly-`git log --pretty=format:'%h' -n 1`
|
2015-06-24 23:33:16 +00:00
|
|
|
rm -rf $REPO_DIR
|