!331 Modify package file name to be same as package name

Merge pull request !331 from ZhouFeng/modify-whl-file-name
This commit is contained in:
mindspore-ci-bot 2020-04-15 15:10:39 +08:00 committed by Gitee
commit 9c9c709159
1 changed files with 0 additions and 2 deletions

View File

@ -76,8 +76,6 @@ if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
) )
endif () endif ()
set(PACKAGE_NAME "mindspore")
file(GLOB WHL_FILE ${MS_PACK_ROOT_DIR}/dist/*.whl) file(GLOB WHL_FILE ${MS_PACK_ROOT_DIR}/dist/*.whl)
get_filename_component(ORIGIN_FILE_NAME ${WHL_FILE} NAME) get_filename_component(ORIGIN_FILE_NAME ${WHL_FILE} NAME)
string(REPLACE "-" ";" ORIGIN_FILE_NAME ${ORIGIN_FILE_NAME}) string(REPLACE "-" ";" ORIGIN_FILE_NAME ${ORIGIN_FILE_NAME})