diff --git a/scripts/lite_release_package.sh b/scripts/lite_release_package.sh index 30d85fa7e36..7e4e77f94e1 100644 --- a/scripts/lite_release_package.sh +++ b/scripts/lite_release_package.sh @@ -82,20 +82,16 @@ function linux_release_package() { src_inference_pkg_name="mindspore-lite-${version}-inference-linux-x64" src_train_pkg_name="mindspore-lite-${version}-train-linux-x64" - src_jar_pkg_name="mindspore-lite-${version}-inference-linux-x64-jar" dst_pkg_name="mindspore-lite-${version}-linux-x64" rm -rf ${src_inference_pkg_name} rm -rf ${src_train_pkg_name} - rm -rf ${src_jar_pkg_name} rm -rf ${dst_pkg_name} tar -xzf ${input_path}/ubuntu_x86/avx/${src_inference_pkg_name}.tar.gz tar -xzf ${input_path}/ubuntu_x86/${src_train_pkg_name}.tar.gz - tar -xzf ${input_path}/aar/avx/${src_jar_pkg_name}.tar.gz cp -r ${src_train_pkg_name}/tools/benchmark_train/ ${src_inference_pkg_name}/tools/ cp -r ${src_train_pkg_name}/train/ ${src_inference_pkg_name}/ - cp -r ${src_jar_pkg_name}/jar/ ${src_inference_pkg_name}/inference/lib/ mkdir -p ${output_path}/release/linux/ mv ${src_inference_pkg_name} ${dst_pkg_name} @@ -106,9 +102,7 @@ function linux_release_package() verify_every_file ${src_train_pkg_name}/tools/benchmark_train/ ${dst_pkg_name} verify_every_file ${src_train_pkg_name}/train/ ${dst_pkg_name} - verify_every_file ${src_jar_pkg_name}/ ${dst_pkg_name} rm -rf ${src_train_pkg_name} - rm -rf ${src_jar_pkg_name} rm -rf ${dst_pkg_name} }