summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <friedbunny@users.noreply.github.com>2016-09-19 15:43:45 -0400
committerJason Wray <jason@mapbox.com>2016-10-25 22:38:17 -0700
commit36738c00259572402909c3862420c17ad980fe25 (patch)
tree986468c79993940ad524e024d277b67009c4b13a
parent47f73d3f643d0c047931cc408be2dcdcef5131cf (diff)
downloadqtlocation-mapboxgl-36738c00259572402909c3862420c17ad980fe25.tar.gz
[ios] Don't specify Swift version for jazzy doc generation (#6377)
-rwxr-xr-xplatform/ios/scripts/document.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/ios/scripts/document.sh b/platform/ios/scripts/document.sh
index a4fd5b98b8..62ec7824fc 100755
--- a/platform/ios/scripts/document.sh
+++ b/platform/ios/scripts/document.sh
@@ -19,8 +19,6 @@ BRANCH=$( git describe --tags --match=ios-v*.*.* --abbrev=0 )
SHORT_VERSION=$( echo ${BRANCH} | sed 's/^ios-v//' )
RELEASE_VERSION=$( echo ${SHORT_VERSION} | sed -e 's/^ios-v//' -e 's/-.*//' )
-SWIFT_VERSION=$(xcrun swift -version | head -n 1 | sed -e 's/^Apple Swift version //' -e 's/ .*$//')
-
rm -rf /tmp/mbgl
mkdir -p /tmp/mbgl/
README=/tmp/mbgl/README.md
@@ -37,7 +35,6 @@ cp platform/ios/screenshot.png "${OUTPUT}"
jazzy \
--config platform/ios/jazzy.yml \
--sdk iphonesimulator \
- --swift-version $SWIFT_VERSION \
--github-file-prefix https://github.com/mapbox/mapbox-gl-native/tree/${BRANCH} \
--module-version ${SHORT_VERSION} \
--readme ${README} \