You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.0 KiB
32 lines
1.0 KiB
Index: build.sh |
|
--- build.sh.orig 2019-01-16 11:57:44.000000000 +0100 |
|
+++ build.sh 2019-02-10 19:53:00.000857000 +0100 |
|
@@ -7,7 +7,7 @@ |
|
set -e |
|
|
|
mydir=$(dirname $0) |
|
-GIT_COMMIT=$(git rev-parse HEAD) |
|
+GIT_COMMIT=000000 |
|
RELEASE_VERSION= |
|
RELEASE_SUBVERSION= |
|
TOPDIR=/tmp/orchestrator-release |
|
@@ -56,8 +56,8 @@ |
|
ok=1 |
|
fi |
|
|
|
- if ! go version | egrep -q 'go(1\.(8|9|1[0]))' ; then |
|
- echo "go version must be between 1.8 and 1.10" |
|
+ if ! go version | egrep -q 'go(1\.(8|9|1[0]|11))' ; then |
|
+ echo "go version must be between 1.8 and 1.11" |
|
ok=1 |
|
fi |
|
|
|
@@ -154,7 +154,7 @@ |
|
prefix="$4" |
|
ldflags="-X main.AppVersion=${RELEASE_VERSION} -X main.GitCommit=${GIT_COMMIT}" |
|
echo "Building via $(go version)" |
|
- gobuild="go build -i ${opt_race} -ldflags \"$ldflags\" -o $builddir/orchestrator${prefix}/orchestrator/orchestrator go/cmd/orchestrator/main.go" |
|
+ gobuild="go build -v ${opt_race} -ldflags \"$ldflags\" -o $builddir/orchestrator${prefix}/orchestrator/orchestrator go/cmd/orchestrator/main.go" |
|
|
|
case $os in |
|
'linux')
|
|
|