提交 54f1c6e3 编写于 作者: Z zhoufeng

make the commid_id of whl packages to have same length

Signed-off-by: Nzhoufeng <zhoufeng54@huawei.com>
上级 05eeedec
......@@ -51,7 +51,7 @@ endif ()
# get git commit id
set(GIT_COMMIT_ID "")
execute_process(
COMMAND ${GIT} log --format='[sha1]:%h,[branch]:%d' -1
COMMAND ${GIT} log --format='[sha1]:%h,[branch]:%d' --abbrev=8 -1
OUTPUT_VARIABLE GIT_COMMIT_ID
WORKING_DIRECTORY ${MS_ROOT_DIR}
ERROR_QUIET)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册