Skip to content

Commit

Permalink
update package script
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongqiang committed Apr 12, 2024
1 parent 82bcf72 commit 8588d21
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
4 changes: 1 addition & 3 deletions iOS/APIExample-Audio/package_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
zip -r ${1}_Audio_${today}.zip .
4 changes: 1 addition & 3 deletions iOS/APIExample-OC/package_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
zip -r ${1}_OC_${today}.zip .
4 changes: 1 addition & 3 deletions iOS/APIExample/package_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
zip -r ${1}_Swift_${today}.zip .
2 changes: 1 addition & 1 deletion macOS/package_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
zip -r ${1}_${project_name}_${today}.zip .

0 comments on commit 8588d21

Please sign in to comment.