diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-06-14 10:51:07 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-06-14 10:51:07 -0700 |
commit | e49f72838b91136b67444d134b146819878b4b9e (patch) | |
tree | ab2721aa8b9f58d63c209df8705770f3d1144394 /platform/macos/scripts | |
parent | 1d43f92859f74b58d5fe8f6e7e7f880777605e61 (diff) | |
download | qtlocation-mapboxgl-e49f72838b91136b67444d134b146819878b4b9e.tar.gz |
[macos] Zip up SDK before uploading itmacos-v0.2.0
Diffstat (limited to 'platform/macos/scripts')
-rwxr-xr-x | platform/macos/scripts/deploy-packages.sh | 7 |
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 } |