@@ -58,16 +58,23 @@ python3 $WORKSPACE/artifactory_utils.py --action=download_file --file=$sdk_url
5858unzip_name=` ls -S -d * / | grep Agora`
5959echo unzip_name: $unzip_name
6060
61- mv $unzip_name /rtc/** $unzip_name
62- rm -rf $unzip_name /rtc
63- rm -rf ./$unzip_name /bin
64- rm -rf ./$unzip_name /demo
65- rm ./$unzip_name /commits
66- rm ./$unzip_name /package_size_report.txt
67- mkdir ./$unzip_name /samples
68- mkdir ./$unzip_name /samples/API-example
61+ # mv $unzip_name/rtc/** $unzip_name
62+ # rm -rf $unzip_name/rtc
63+ # rm -rf ./$unzip_name/bin
64+ # rm -rf ./$unzip_name/demo
65+ # rm ./$unzip_name/commits
66+ # rm ./$unzip_name/package_size_report.txt
67+ # mkdir ./$unzip_name/samples
68+ # mkdir ./$unzip_name/samples/API-example
69+ # cp -rf ./Android/APIExample$(echo $sdk_url | cut -d "/" -f 9 | grep audio_only | cut -d "_" -f 1 | sed -e 's/a/-A/g')/** ./$unzip_name/samples/API-example
6970
70- cp -rf ./Android/APIExample$( echo $sdk_url | cut -d " /" -f 9 | grep audio_only | cut -d " _" -f 1 | sed -e ' s/a/-A/g' ) /** ./$unzip_name /samples/API-example
71+ rm -rf ./$unzip_name /rtc/bin
72+ rm -rf ./$unzip_name /rtc/demo
73+ rm ./$unzip_name /rtc/commits
74+ rm ./$unzip_name /rtc/package_size_report.txt
75+ mkdir ./$unzip_name /rtc/samples
76+ mkdir ./$unzip_name /rtc/samples/API-example
77+ cp -rf ./Android/APIExample$( echo $sdk_url | cut -d " /" -f 9 | grep audio_only | cut -d " _" -f 1 | sed -e ' s/a/-A/g' ) /** ./$unzip_name /rtc/samples/API-example
7178
72797za a -tzip result.zip -r $unzip_name
7380cp result.zip $WORKSPACE /withAPIExample_$zip_name
0 commit comments