!10476 [MSLITE][Develop] fix lite package script

From: @sunsuodong
Reviewed-by: @zhanghaibo5,@xsmq
Signed-off-by: @zhanghaibo5
This commit is contained in:
mindspore-ci-bot 2020-12-25 14:18:53 +08:00 committed by Gitee
commit 669aead512
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
# Copyright 2019 Huawei Technologies Co., Ltd
# Copyright 2020 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@ -123,7 +123,7 @@ echo "Usage: bash lite_release_package.sh input_path output_path"
input_path=$1
output_path=$2
version=`ls ${input_path}/android_aarch64/mindspore-lite-*-inference-*.tar.gz | cut -d"-" -f3`
version=`ls ${input_path}/android_aarch64/mindspore-lite-*-inference-*.tar.gz | awk -F'/' '{print $NF}' | cut -d"-" -f3`
android_release_package
linux_release_package