summaryrefslogtreecommitdiff
path: root/platform/ios/scripts/release-notes.md.ejs
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/release-notes.md.ejs
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/release-notes.md.ejs')
-rw-r--r--platform/ios/scripts/release-notes.md.ejs10
1 files changed, 10 insertions, 0 deletions
diff --git a/platform/ios/scripts/release-notes.md.ejs b/platform/ios/scripts/release-notes.md.ejs
new file mode 100644
index 0000000000..eedf9a0afa
--- /dev/null
+++ b/platform/ios/scripts/release-notes.md.ejs
@@ -0,0 +1,10 @@
+<%
+ const CURRENTVERSION = locals.currentVersion;
+ const PREVIOUSVERSION = locals.previousVersion;
+ const CHANGELOG = locals.changelog;
+-%>
+[Changes](https://github.com/mapbox/mapbox-gl-native/compare/ios-v<%-PREVIOUSVERSION%>...ios-v<%-CURRENTVERSION%>) since [Mapbox Maps SDK for iOS v<%-PREVIOUSVERSION%>](https://github.com/mapbox/mapbox-gl-native/releases/tag/ios-v<%-PREVIOUSVERSION%>):
+
+<%-CHANGELOG%>
+
+Documentation is [available online](https://www.mapbox.com/ios-sdk/api/<%-CURRENTVERSION%>/) or as part of the download.