summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2017-04-05 01:25:37 -0700
committerMinh Nguyễn <mxn@1ec5.org>2017-04-05 01:25:37 -0700
commit8539d7092ee0dc584f6dd7f664d49ee96d4ddf0e (patch)
tree237c4706b2b9a1559b9ea16fe269974626b64995
parentff7337121685b1ff091468dc96cfc23e567ab029 (diff)
downloadqtlocation-mapboxgl-8539d7092ee0dc584f6dd7f664d49ee96d4ddf0e.tar.gz
[ios, macos] Preserve symlinks when zipping framework
-rwxr-xr-xplatform/ios/scripts/publish.sh2
-rw-r--r--platform/macos/CHANGELOG.md4
-rwxr-xr-xplatform/macos/scripts/deploy-packages.sh2
3 files changed, 6 insertions, 2 deletions
diff --git a/platform/ios/scripts/publish.sh b/platform/ios/scripts/publish.sh
index e080ee825c..117a4ec0db 100755
--- a/platform/ios/scripts/publish.sh
+++ b/platform/ios/scripts/publish.sh
@@ -27,7 +27,7 @@ cd build/ios/pkg
ZIP=mapbox-ios-sdk-${PUBLISH_VERSION}${PUBLISH_STYLE}.zip
step "Compressing ${ZIP}…"
rm -f ../${ZIP}
-zip -r ../${ZIP} *
+zip -yr ../${ZIP} *
#
# upload
diff --git a/platform/macos/CHANGELOG.md b/platform/macos/CHANGELOG.md
index fa5822863f..cf2c1d4884 100644
--- a/platform/macos/CHANGELOG.md
+++ b/platform/macos/CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog for Mapbox macOS SDK
+## 0.4.1
+
+* Fixed an issue causing code signing failures and bloating the framework. ([#8640](https://github.com/mapbox/mapbox-gl-native/pull/8640))
+
## 0.4.0
This version of the Mapbox macOS SDK corresponds to version 3.5.1 of the Mapbox iOS SDK.
diff --git a/platform/macos/scripts/deploy-packages.sh b/platform/macos/scripts/deploy-packages.sh
index 8f61519244..d9d74b2867 100755
--- a/platform/macos/scripts/deploy-packages.sh
+++ b/platform/macos/scripts/deploy-packages.sh
@@ -37,7 +37,7 @@ buildPackageStyle() {
step "Compressing ${file_name}…"
cd build/macos/pkg
rm -f ../deploy/${file_name}
- zip -r ../deploy/${file_name} *
+ zip -yr ../deploy/${file_name} *
cd -
if [[ "${GITHUB_RELEASE}" == true ]]; then
echo "Uploading ${file_name} to GitHub"