summaryrefslogtreecommitdiff
path: root/platform/ios/scripts/deploy-packages.sh
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2018-05-30 12:56:55 -0400
committerJason Wray <jason@mapbox.com>2018-05-30 13:01:04 -0400
commite67f0be81301abce9454c678f677d37d61a03631 (patch)
tree223a5523b4142ca3136589fd492c2f4e19ea82aa /platform/ios/scripts/deploy-packages.sh
parent83ebd5f6ff56fddd4a2923f6c082977476cddd99 (diff)
parent43efd61813dfddb0ac673314350d95aa1a86b8cb (diff)
downloadqtlocation-mapboxgl-e67f0be81301abce9454c678f677d37d61a03631.tar.gz
Merge tag 'ios-v4.0.2' into masterupstream/fb-merge-release-ios-v4.0.2
Conflicts: mapbox-gl-js platform/android/CHANGELOG.md platform/android/gradle/dependencies.gradle platform/ios/CHANGELOG.md platform/ios/Mapbox-iOS-SDK-nightly-dynamic.podspec platform/ios/Mapbox-iOS-SDK-symbols.podspec platform/ios/Mapbox-iOS-SDK.podspec platform/node/test/ignores.json src/mbgl/geometry/feature_index.cpp src/mbgl/geometry/feature_index.hpp src/mbgl/layout/symbol_layout.cpp
Diffstat (limited to 'platform/ios/scripts/deploy-packages.sh')
-rwxr-xr-xplatform/ios/scripts/deploy-packages.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/platform/ios/scripts/deploy-packages.sh b/platform/ios/scripts/deploy-packages.sh
index 103e53768c..4197a26678 100755
--- a/platform/ios/scripts/deploy-packages.sh
+++ b/platform/ios/scripts/deploy-packages.sh
@@ -95,6 +95,7 @@ git checkout ${VERSION_TAG}
step "Deploying version ${PUBLISH_VERSION}…"
make clean && make distclean
+npm install --ignore-scripts
mkdir -p ${BINARY_DIRECTORY}
if [[ "${GITHUB_RELEASE}" == true ]]; then
@@ -102,10 +103,12 @@ if [[ "${GITHUB_RELEASE}" == true ]]; then
if [[ $( echo ${PUBLISH_VERSION} | awk '/[0-9]-/' ) ]]; then
PUBLISH_PRE_FLAG='--pre-release'
fi
+ RELEASE_NOTES=$( ./platform/ios/scripts/release-notes.js )
github-release release \
--tag "ios-v${PUBLISH_VERSION}" \
--name "ios-v${PUBLISH_VERSION}" \
- --draft ${PUBLISH_PRE_FLAG}
+ --draft ${PUBLISH_PRE_FLAG} \
+ --description "${RELEASE_NOTES}"
fi
buildPackageStyle "ipackage" "symbols"