diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2015-05-04 16:07:29 -0700 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2015-05-04 16:07:29 -0700 |
commit | 33b1b0a47b6bf2b9d6dd8a33e1d43b0715b37e8a (patch) | |
tree | 627b43501b9ccfc80fcb9dcc083f8c95a878abe5 /ios/docs | |
parent | af8f060a0d8904940cb6c33e1ce2a1786f2083e2 (diff) | |
download | qtlocation-mapboxgl-33b1b0a47b6bf2b9d6dd8a33e1d43b0715b37e8a.tar.gz |
improvements to source install docs script
Diffstat (limited to 'ios/docs')
-rwxr-xr-x | ios/docs/install_docs.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ios/docs/install_docs.sh b/ios/docs/install_docs.sh index cd6fcdda73..c74c6bcd2e 100755 --- a/ios/docs/install_docs.sh +++ b/ios/docs/install_docs.sh @@ -5,13 +5,15 @@ if [ -z `which appledoc` ]; then exit 1 fi -VERSION=$( git tag | grep ^[0-9] | sort -r | sed -n '1p' ) +OUTPUT="/tmp/`uuidgen`" + +VERSION=$( git tag -l ios\* --sort -v:refname | sed -n '1p' | sed 's/ios-v//' ) echo "Creating new docs for $VERSION..." echo appledoc \ - --output /tmp/`uuidgen` \ - --project-name "Mapbox GL $VERSION" \ + --output $OUTPUT \ + --project-name "Mapbox GL for iOS $VERSION" \ --project-company Mapbox \ --create-docset \ --company-id com.mapbox \ |