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

94616a
From e87254b4a67d5ab4e23827cb876bc523d6799874 Mon Sep 17 00:00:00 2001
be5080
From: Jan Chaloupka <jchaloup@redhat.com>
94616a
Date: Mon, 29 Jun 2015 10:16:22 +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
94616a
index e18ab25..7e83deb 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
 
94616a
-GIT_SHA=`git rev-parse --short HEAD || echo "GitNotFound"`
94616a
+#GIT_SHA=`git rev-parse --short HEAD || echo "GitNotFound"`
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