[ios] Don't specify Swift version for jazzy doc generation (#6377)

This commit is contained in:
Jason Wray
2016-09-19 15:43:45 -04:00
committed by GitHub
parent dc1861f6d5
commit 23eaf6fb86

View File

@@ -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} \