mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Fix escaping characters on versioning
This commit is contained in:
4
build.sh
4
build.sh
@@ -1,8 +1,10 @@
|
||||
#! /usr/bin/env sh
|
||||
echo "Building CGRateS ..."
|
||||
|
||||
GIT_LAST_LOG=$(git log -1 | tr -d "'")
|
||||
|
||||
echo $GIT_LAST_LOG
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user