From 43f70465f5db65170f0c348b12619a3250306b48 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Fri, 30 Sep 2016 17:47:52 -0400 Subject: [PATCH] [macos] Don't specify Swift version for jazzy doc generation (#6539) Counterpart to https://github.com/mapbox/mapbox-gl-native/pull/6377/. --- platform/macos/scripts/document.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/platform/macos/scripts/document.sh b/platform/macos/scripts/document.sh index 526aecb7d..09656ab01 100755 --- a/platform/macos/scripts/document.sh +++ b/platform/macos/scripts/document.sh @@ -19,8 +19,6 @@ BRANCH=$( git describe --tags --match=macos-v*.*.* --abbrev=0 ) SHORT_VERSION=$( echo ${BRANCH} | sed 's/^macos-v//' ) RELEASE_VERSION=$( echo ${SHORT_VERSION} | sed -e 's/^macos-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/macos/screenshot.png "${OUTPUT}" jazzy \ --config platform/macos/jazzy.yml \ --sdk macosx \ - --swift-version $SWIFT_VERSION \ --github-file-prefix https://github.com/mapbox/mapbox-gl-native/tree/${BRANCH} \ --module-version ${SHORT_VERSION} \ --readme ${README} \