|
|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
Index: build
|
|
|
|
|
--- build.orig 2015-05-15 22:54:32.000000000 +0200
|
|
|
|
|
+++ build 2015-05-23 09:40:00.295115063 +0200
|
|
|
|
|
--- build.orig 2015-06-21 09:33:26.945122000 +0200
|
|
|
|
|
+++ build 2015-06-21 09:33:57.645138745 +0200
|
|
|
|
|
@@ -11,8 +11,8 @@
|
|
|
|
|
|
|
|
|
|
eval $(go env)
|
|
|
|
|
|
|
|
|
|
-GIT_SHA=`git rev-parse --short HEAD`
|
|
|
|
|
-GIT_SHA=`git rev-parse --short HEAD || echo "GitNotFound"`
|
|
|
|
|
+GIT_SHA="000000"
|
|
|
|
|
|
|
|
|
|
# Static compilation is useful when etcd is run in a container
|
|
|
|
|
@ -14,8 +14,8 @@ Index: build
|
|
|
|
|
+CGO_ENABLED=0 go build -x -a -installsuffix cgo -ldflags "-s -X ${REPO_PATH}/version.GitSHA ${GIT_SHA}" -o bin/etcd ${REPO_PATH}
|
|
|
|
|
+CGO_ENABLED=0 go build -x -a -installsuffix cgo -ldflags "-s" -o bin/etcdctl ${REPO_PATH}/etcdctl
|
|
|
|
|
Index: etcdctl/main.go
|
|
|
|
|
--- etcdctl/main.go.orig 2015-05-15 22:54:32.000000000 +0200
|
|
|
|
|
+++ etcdctl/main.go 2015-05-23 09:38:36.685461322 +0200
|
|
|
|
|
--- etcdctl/main.go.orig 2015-06-16 23:19:37.000000000 +0200
|
|
|
|
|
+++ etcdctl/main.go 2015-06-21 09:33:26.945122542 +0200
|
|
|
|
|
@@ -32,7 +32,7 @@
|
|
|
|
|
cli.BoolFlag{Name: "debug", Usage: "output cURL commands which can be used to reproduce the request"},
|
|
|
|
|
cli.BoolFlag{Name: "no-sync", Usage: "don't synchronize cluster information before sending request"},
|
|
|
|
|
|