Blame SOURCES/don-t-set-GIT_SHA-in-build-script.patch

be5080
From a5da60a9df487c6614d0f2b06db465f43154086b Mon Sep 17 00:00:00 2001
be5080
From: Jan Chaloupka <jchaloup@redhat.com>
be5080
Date: Wed, 20 May 2015 19:32:36 +0200
be5080
Subject: [PATCH] don't set GIT_SHA in build script
be5080
be5080
---
be5080
 build | 2 +-
be5080
 1 file changed, 1 insertion(+), 1 deletion(-)
be5080
be5080
diff --git a/build b/build
be5080
index 2bb96e5..b94d708 100755
be5080
--- a/build
be5080
+++ b/build
be5080
@@ -11,7 +11,7 @@ ln -s ${PWD} $GOPATH/src/${REPO_PATH}
be5080
 
be5080
 eval $(go env)
be5080
 
be5080
-GIT_SHA=`git rev-parse --short HEAD`
be5080
+#GIT_SHA=`git rev-parse --short HEAD`
be5080
 
be5080
 # Static compilation is useful when etcd is run in a container
be5080
 CGO_ENABLED=0 go build -a -installsuffix cgo -ldflags "-s -X ${REPO_PATH}/version.GitSHA ${GIT_SHA}" -o bin/etcd ${REPO_PATH}
be5080
-- 
be5080
1.9.3
be5080