summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmkiley <jordan.kiley@mapbox.com>2018-10-29 15:36:32 -0700
committerjmkiley <jordan.kiley@mapbox.com>2018-10-29 15:36:32 -0700
commit78845b824b34a8d9e0834db6c37c93d86b8d3b59 (patch)
tree5e666baef57ebbc2bfd29675da76e02750abf64b
parente3f88c4668c2e97afbfd29d087fb8c3630439e1b (diff)
downloadqtlocation-mapboxgl-78845b824b34a8d9e0834db6c37c93d86b8d3b59.tar.gz
[ios] Add package.sh to publish-cn
-rwxr-xr-x[-rw-r--r--]platform/ios/scripts/publish-cn.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/platform/ios/scripts/publish-cn.sh b/platform/ios/scripts/publish-cn.sh
index 0cd6d0ea01..3714f4429c 100644..100755
--- a/platform/ios/scripts/publish-cn.sh
+++ b/platform/ios/scripts/publish-cn.sh
@@ -8,6 +8,14 @@ set -u
function step { >&2 echo -e "\033[1m\033[36m* $@\033[0m"; }
function finish { >&2 echo -en "\033[0m"; }
trap finish EXIT
+#
+# make the framework
+#
+
+./platform/ios/scripts/package.sh
+echo "making package"
+wait
+echo "finished!"
#
# zip
@@ -38,5 +46,5 @@ step "Uploading ${ZIP} to s3…"
# Since this build is primarily for .CN customers, it will be hosted on .cn.
-aws s3 cp ../${ZIP} s3://binary.mapbox.cn/ios/builds/maps-sdk/ --acl public-read ${PROGRESS}
-echo "URL: https://mapbox.s3.amazonaws.cn/ios/builds/maps-sdk/${ZIP}"
+# aws s3 cp ../${ZIP} s3://binary.mapbox.cn/ios/builds/maps-sdk/ --acl public-read ${PROGRESS}
+echo "URL: s3://binary.mapbox.cn/ios/builds/maps-sdk/${ZIP}"