From 8588d21cb16012fe00ed24beebd84532ab1ef3ca Mon Sep 17 00:00:00 2001 From: zhaoyongqiang Date: Fri, 12 Apr 2024 17:59:31 +0800 Subject: [PATCH] update package script --- iOS/APIExample-Audio/package_script.sh | 4 +--- iOS/APIExample-OC/package_script.sh | 4 +--- iOS/APIExample/package_script.sh | 4 +--- macOS/package_script.sh | 2 +- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/iOS/APIExample-Audio/package_script.sh b/iOS/APIExample-Audio/package_script.sh index c30f35a49..254e06976 100755 --- a/iOS/APIExample-Audio/package_script.sh +++ b/iOS/APIExample-Audio/package_script.sh @@ -11,6 +11,4 @@ fi script_path="$( cd "$(dirname "$0")" ; pwd -P )" echo $script_path today=$(date +"%Y-%m-%d") -project_name=$(echo $script_path | rev | cut -d'/' -f1 | rev) -echo $project_name -zip -r ${project_name}_${today}.zip . \ No newline at end of file +zip -r ${1}_Audio_${today}.zip . \ No newline at end of file diff --git a/iOS/APIExample-OC/package_script.sh b/iOS/APIExample-OC/package_script.sh index c30f35a49..b4554006d 100755 --- a/iOS/APIExample-OC/package_script.sh +++ b/iOS/APIExample-OC/package_script.sh @@ -11,6 +11,4 @@ fi script_path="$( cd "$(dirname "$0")" ; pwd -P )" echo $script_path today=$(date +"%Y-%m-%d") -project_name=$(echo $script_path | rev | cut -d'/' -f1 | rev) -echo $project_name -zip -r ${project_name}_${today}.zip . \ No newline at end of file +zip -r ${1}_OC_${today}.zip . \ No newline at end of file diff --git a/iOS/APIExample/package_script.sh b/iOS/APIExample/package_script.sh index c30f35a49..7ddf3c889 100755 --- a/iOS/APIExample/package_script.sh +++ b/iOS/APIExample/package_script.sh @@ -11,6 +11,4 @@ fi script_path="$( cd "$(dirname "$0")" ; pwd -P )" echo $script_path today=$(date +"%Y-%m-%d") -project_name=$(echo $script_path | rev | cut -d'/' -f1 | rev) -echo $project_name -zip -r ${project_name}_${today}.zip . \ No newline at end of file +zip -r ${1}_Swift_${today}.zip . \ No newline at end of file diff --git a/macOS/package_script.sh b/macOS/package_script.sh index f960ba500..bf54f0176 100755 --- a/macOS/package_script.sh +++ b/macOS/package_script.sh @@ -13,4 +13,4 @@ echo $script_path today=$(date +"%Y-%m-%d") project_name=$(echo $script_path | rev | cut -d'/' -f1 | rev) echo $project_name -zip -r $1+'-'${project_name}_${today}.zip . \ No newline at end of file +zip -r ${1}_${project_name}_${today}.zip . \ No newline at end of file