1
0
mirror of https://github.com/Oxalide/vsphere-influxdb-go.git synced 2023-10-10 13:36:51 +02:00
vsphere-influxdb-go/vendor/github.com/influxdata/influxdb/gobuild.sh

19 lines
442 B
Bash
Raw Normal View History

2017-10-25 22:52:40 +02:00
#!/bin/bash
# This script run inside the Dockerfile_build_ubuntu64_git container and
# gets the latests Go source code and compiles it.
# Then passes control over to the normal build.py script
set -e
cd /go/src
git fetch --all
git checkout $GO_CHECKOUT
# Merge in recent changes if we are on a branch
# if we checked out a tag just ignore the error
git pull || true
./make.bash
# Run normal build.py
cd "$PROJECT_DIR"
exec ./build.py "$@"