15 lines
365 B
Bash
Executable File
15 lines
365 B
Bash
Executable File
#!/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
|
|
NIGHTLY_BUILD=true ./package.sh `git describe --tags | sed -e s/^v//`
|
|
rm -rf $REPO_DIR
|