summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2015-10-01 14:23:23 -0700
committerJustin R. Miller <incanus@codesorcery.net>2015-10-01 15:26:47 -0700
commita0244601ca4f94b5002cb0b14836bec1950b1644 (patch)
tree0da9cda9979c54a45a1d4a0c36e21111030dcf09 /ios
parent212c7ed8da899034561b94bbf0c962644d2885ff (diff)
downloadqtlocation-mapboxgl-a0244601ca4f94b5002cb0b14836bec1950b1644.tar.gz
[ios] patch up iOS version-deducing scripts
Diffstat (limited to 'ios')
-rwxr-xr-xios/docs/install_docs.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/ios/docs/install_docs.sh b/ios/docs/install_docs.sh
index 99f2a5d1e9..20d78748fa 100755
--- a/ios/docs/install_docs.sh
+++ b/ios/docs/install_docs.sh
@@ -7,8 +7,8 @@ fi
OUTPUT="/tmp/`uuidgen`"
-VERSION=$( git tag --sort -v:refname | grep -v '\-rc.' | sed -n '1p' | sed 's/^v//' )
-echo "Creating new docs for ${VERSION}..."
+DOCS_VERSION=$( git tag | grep ^ios | sed 's/^ios-//' | sort -r | grep -v '\-rc.' | grep -v '\-pre.' | sed -n '1p' | sed 's/^v//' )
+echo "Creating new docs for ${DOCS_VERSION}..."
echo
rm -rf /tmp/mbgl
@@ -26,7 +26,7 @@ perl \
/tmp/mbgl/ios/*.h
appledoc \
--output ${OUTPUT} \
- --project-name "Mapbox iOS SDK ${VERSION}" \
+ --project-name "Mapbox iOS SDK ${DOCS_VERSION}" \
--project-company Mapbox \
--create-docset \
--company-id com.mapbox \