Skip to content

Commit ef46ddb

Browse files
author
qinhui
committed
Modify script
1 parent 3944ddd commit ef46ddb

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

.github/ci/build/build_ios.sh

+11-13
Original file line numberDiff line numberDiff line change
@@ -85,19 +85,17 @@ else
8585
mv ./$unzip_name/samples/${ios_direction}/sdk.podspec ./$unzip_name/ || exit 1
8686
fi
8787

88-
echo "Current directory files:"
89-
ls -la
90-
# python3 ./.github/ci/build/modify_podfile.py ./$unzip_name/samples/${ios_direction}/Podfile $sdk_url_flag || exit 1
88+
python3 ./.github/ci/build/modify_podfile.py ./$unzip_name/samples/${ios_direction}/Podfile $sdk_url_flag || exit 1
9189

92-
# echo "start compress"
93-
# 7za a -tzip result.zip -r $unzip_name > log.txt
94-
# echo "start move to"
95-
# echo $WORKSPACE/with${ios_direction}_${BUILD_NUMBER}_$zip_name
96-
# mv result.zip $WORKSPACE/with${ios_direction}_${BUILD_NUMBER}_$zip_name
90+
echo "start compress"
91+
7za a -tzip result.zip -r $unzip_name > log.txt
92+
echo "start move to"
93+
echo $WORKSPACE/with${ios_direction}_${BUILD_NUMBER}_$zip_name
94+
mv result.zip $WORKSPACE/with${ios_direction}_${BUILD_NUMBER}_$zip_name
9795

98-
# if [ $compile_project = true ]; then
99-
# cd ./$unzip_name/samples/${ios_direction}
100-
# ./cloud_build.sh || exit 1
101-
# cd -
102-
# fi
96+
if [ $compile_project = true ]; then
97+
cd ./$unzip_name/samples/${ios_direction}
98+
./cloud_build.sh || exit 1
99+
cd -
100+
fi
103101

0 commit comments

Comments
 (0)