From 340a8727665098135851086cd3b01958f30ccbb2 Mon Sep 17 00:00:00 2001
From: Olgun Cengiz <olgun.cengiz@vereign.com>
Date: Thu, 22 Nov 2018 13:50:52 +0300
Subject: [PATCH] bugfix

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

diff --git a/Makefile b/Makefile
index e084551..50f814c 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ SERVER_OUT := "bin/server"
 PKG := "code.vereign.com/code/key-storage-agent"
 SERVER_PKG_BUILD := "${PKG}"
 PKG_LIST := $(shell go list ${PKG}/... | grep -v /vendor/)
-BRANCH := $(shell git show -s --pretty=%d HEAD)
+BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
 COMMIT := $(shell git describe --always --long --dirty)
 VER := $(BRANCH).$(COMMIT)
 
-- 
GitLab