From 74f3f1d36dbaa4b6eb85d7933b921e525e0d577a Mon Sep 17 00:00:00 2001 From: DanB Date: Thu, 12 Jan 2017 20:24:58 +0100 Subject: [PATCH] Enabling gitlog in build.sh --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 0ca2455ff..21ea4f0ab 100755 --- a/build.sh +++ b/build.sh @@ -2,7 +2,7 @@ echo "Building CGRateS ..." -#GIT_LAST_LOG=$(git log -1) +GIT_LAST_LOG=$(git log -1) go install -ldflags "-X 'github.com/cgrates/cgrates/utils.GitLastLog=$GIT_LAST_LOG'" github.com/cgrates/cgrates/cmd/cgr-engine cr=$? go install -ldflags "-X 'github.com/cgrates/cgrates/utils.GitLastLog=$GIT_LAST_LOG'" github.com/cgrates/cgrates/cmd/cgr-loader