Blob Blame History Raw
From e87254b4a67d5ab4e23827cb876bc523d6799874 Mon Sep 17 00:00:00 2001
From: Jan Chaloupka <jchaloup@redhat.com>
Date: Mon, 29 Jun 2015 10:16:22 +0200
Subject: [PATCH] don't set GIT_SHA in build script

---
 build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build b/build
index e18ab25..7e83deb 100755
--- a/build
+++ b/build
@@ -11,7 +11,7 @@ ln -s ${PWD} $GOPATH/src/${REPO_PATH}
 
 eval $(go env)
 
-GIT_SHA=`git rev-parse --short HEAD || echo "GitNotFound"`
+#GIT_SHA=`git rev-parse --short HEAD || echo "GitNotFound"`
 
 # Static compilation is useful when etcd is run in a container
 CGO_ENABLED=0 go build -a -installsuffix cgo -ldflags "-s -X ${REPO_PATH}/version.GitSHA ${GIT_SHA}" -o bin/etcd ${REPO_PATH}
-- 
1.9.3