summaryrefslogtreecommitdiff
path: root/platform/ios/scripts/deploy-packages.sh
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2018-04-26 12:34:56 -0400
committerJason Wray <jason@mapbox.com>2018-05-24 13:27:26 -0400
commit6e0d6ef44a0c46484bb8e960a5aeb5e773f42680 (patch)
treefe5c97da3dfc3a9ee9bbdcc6c973361263e08b48 /platform/ios/scripts/deploy-packages.sh
parent3c74bbb9d07bd202903e6bf542903f3b0657f9f3 (diff)
downloadqtlocation-mapboxgl-6e0d6ef44a0c46484bb8e960a5aeb5e773f42680.tar.gz
[ios, build] Populate GitHub releases with templated notes
Replicates our existing release notes format as an EJS template and Node JS script, then uploads the formatted notes during the deployment process.
Diffstat (limited to 'platform/ios/scripts/deploy-packages.sh')
-rwxr-xr-xplatform/ios/scripts/deploy-packages.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/ios/scripts/deploy-packages.sh b/platform/ios/scripts/deploy-packages.sh
index 103e53768c..643475f680 100755
--- a/platform/ios/scripts/deploy-packages.sh
+++ b/platform/ios/scripts/deploy-packages.sh
@@ -102,10 +102,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"