提交 c2ff174a 编写于 作者: martianzhang's avatar martianzhang

update version info in Makefile

上级 5279b992
......@@ -16,7 +16,7 @@ if [[ ${GO_VERSION_ARR[0]} -lt ${GO_VERSION_REQ[0]} || (${GO_VERSION_ARR[0]} -eq
fi
## Generate Repository Version
version=$(git log --date=iso --pretty=format:"%cd @%h" -1)
version="$(git log --date=iso --pretty=format:"%cd" -1) $(git describe --tags --always)"
if [ "X${version}" == "X" ]; then
version="not a git repo"
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册