summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-06-14 10:51:07 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-06-14 10:51:07 -0700
commite49f72838b91136b67444d134b146819878b4b9e (patch)
treeab2721aa8b9f58d63c209df8705770f3d1144394 /platform
parent1d43f92859f74b58d5fe8f6e7e7f880777605e61 (diff)
downloadqtlocation-mapboxgl-e49f72838b91136b67444d134b146819878b4b9e.tar.gz
[macos] Zip up SDK before uploading itmacos-v0.2.0
Diffstat (limited to 'platform')
-rwxr-xr-xplatform/macos/scripts/deploy-packages.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/platform/macos/scripts/deploy-packages.sh b/platform/macos/scripts/deploy-packages.sh
index 84b5afa5cf..c137401748 100755
--- a/platform/macos/scripts/deploy-packages.sh
+++ b/platform/macos/scripts/deploy-packages.sh
@@ -37,9 +37,14 @@ buildPackageStyle() {
else
file_name=mapbox-macos-sdk-${PUBLISH_VERSION}-${style}.zip
fi
+ echo "compress ${file_name}"
+ cd build/macos/pkg
+ rm -f ../${file_name}
+ zip -r ../${file_name} *
+ cd -
if [[ "${GITHUB_RELEASE}" == true ]]; then
echo "publish ${file_name} to GitHub"
- github-release --verbose upload --tag "macos-v${PUBLISH_VERSION}" --name ${file_name} --file "build/macos/pkg/${file_name}"
+ github-release --verbose upload --tag "macos-v${PUBLISH_VERSION}" --name ${file_name} --file "build/macos/${file_name}"
fi
}