From 12a6346c967130e38e2d98d7dcf616cc6fe57377 Mon Sep 17 00:00:00 2001 From: wushengtao Date: Wed, 8 May 2024 14:49:28 +0800 Subject: [PATCH] fix: 'zip -r' to 'zip -ry' --- iOS/APIExample-Audio/package_script.sh | 2 +- iOS/APIExample-OC/package_script.sh | 2 +- iOS/APIExample/package_script.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iOS/APIExample-Audio/package_script.sh b/iOS/APIExample-Audio/package_script.sh index a10997038..407998529 100755 --- a/iOS/APIExample-Audio/package_script.sh +++ b/iOS/APIExample-Audio/package_script.sh @@ -12,4 +12,4 @@ script_path="$( cd "$(dirname "$0")" ; pwd -P )" echo $script_path current_datetime=$(date +'%Y-%m-%d_%H-%M-%S') echo $current_datetime -zip -r ${1}_Audio_${current_datetime}.zip . \ No newline at end of file +zip -ry ${1}_Audio_${current_datetime}.zip . \ No newline at end of file diff --git a/iOS/APIExample-OC/package_script.sh b/iOS/APIExample-OC/package_script.sh index 9ddcfebe1..9ff5fded6 100755 --- a/iOS/APIExample-OC/package_script.sh +++ b/iOS/APIExample-OC/package_script.sh @@ -12,4 +12,4 @@ script_path="$( cd "$(dirname "$0")" ; pwd -P )" echo $script_path current_datetime=$(date +'%Y-%m-%d_%H-%M-%S') echo $current_datetime -zip -r ${1}_OC_${current_datetime}.zip . \ No newline at end of file +zip -ry ${1}_OC_${current_datetime}.zip . \ No newline at end of file diff --git a/iOS/APIExample/package_script.sh b/iOS/APIExample/package_script.sh index f67d289bd..1931a0a7a 100755 --- a/iOS/APIExample/package_script.sh +++ b/iOS/APIExample/package_script.sh @@ -12,4 +12,4 @@ script_path="$( cd "$(dirname "$0")" ; pwd -P )" echo $script_path current_datetime=$(date +'%Y-%m-%d_%H-%M-%S') echo $current_datetime -zip -r ${1}_Swift_${current_datetime}.zip . \ No newline at end of file +zip -ry ${1}_Swift_${current_datetime}.zip . \ No newline at end of file