summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2015-11-23 11:00:55 -0800
committerJustin R. Miller <incanus@codesorcery.net>2015-11-23 11:15:10 -0800
commit8a774ad9a93f79ece44d68238086e9722b19146f (patch)
tree34644142c83c285c3d996d0cf30f4e47086b68d1 /scripts
parent8a1bd6d3f29e6b72d04ce66d3eafa29a0022b929 (diff)
downloadqtlocation-mapboxgl-8a774ad9a93f79ece44d68238086e9722b19146f.tar.gz
show current version changelog section in docs & link externally to full
This is going to fail and output nothing for -pre and -rc tags for now until #3046 is addressed. We can't yet grab those but still have final releases sort after them.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ios/package.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ios/package.sh b/scripts/ios/package.sh
index 1208700698..41694c2f63 100755
--- a/scripts/ios/package.sh
+++ b/scripts/ios/package.sh
@@ -128,7 +128,7 @@ README=/tmp/mbgl/README.md
cat ios/docs/pod-README.md > ${README}
echo >> ${README}
echo -n "#" >> ${README}
-cat CHANGELOG.md >> ${README}
+cat CHANGELOG.md | sed -n "/^## iOS ${DOCS_VERSION}/,/^##/p" | sed '$d' >> ${README}
# Copy headers to a temporary location where we can substitute macros that appledoc doesn't understand.
cp -r "${OUTPUT}/static/Headers" /tmp/mbgl
perl \