[ios, macos] Preserve symlinks when zipping framework

This commit is contained in:
Minh Nguyễn
2017-04-05 01:25:37 -07:00
parent ff73371216
commit 8539d7092e
3 changed files with 6 additions and 2 deletions

View File

@@ -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

View File

@@ -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.

View File

@@ -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"