diff options
author | Jason Wray <friedbunny@users.noreply.github.com> | 2016-09-30 17:47:52 -0400 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-09-30 14:47:52 -0700 |
commit | 43f70465f5db65170f0c348b12619a3250306b48 (patch) | |
tree | d8048ac0911b685d041c2b7d9711fddd693c26fe /platform/macos/scripts | |
parent | ca20767e9cd096cc7404187c075dafc0c2223334 (diff) | |
download | qtlocation-mapboxgl-43f70465f5db65170f0c348b12619a3250306b48.tar.gz |
[macos] Don't specify Swift version for jazzy doc generation (#6539)
Counterpart to https://github.com/mapbox/mapbox-gl-native/pull/6377/.
Diffstat (limited to 'platform/macos/scripts')
-rwxr-xr-x | platform/macos/scripts/document.sh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/macos/scripts/document.sh b/platform/macos/scripts/document.sh index 526aecb7d1..09656ab014 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} \ |