Browse Source

make the commid_id of whl packages to have same length

Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
tags/v0.5.0-beta
zhoufeng 5 years ago
parent
commit
54f1c6e3cb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cmake/package_script.cmake

+ 1
- 1
cmake/package_script.cmake View File

@@ -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)


Loading…
Cancel
Save