summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-07-11 15:57:11 -0700
committerMinh Nguyễn <mxn@1ec5.org>2015-07-13 09:32:34 -0700
commit482b8bde6314b38c061040fe2f885bc2068014b1 (patch)
treed70a93445b2ddb4b085b1120ba1031224a9f9c69 /scripts
parentcf9e41be0dc7c55dc098e2af7848cbad21ae954b (diff)
downloadqtlocation-mapboxgl-482b8bde6314b38c061040fe2f885bc2068014b1.tar.gz
Fetch tags before relying on a list of them
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ios/package.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/ios/package.sh b/scripts/ios/package.sh
index 25306bb066..91e70dbba2 100755
--- a/scripts/ios/package.sh
+++ b/scripts/ios/package.sh
@@ -109,6 +109,7 @@ if [ -z `which appledoc` ]; then
exit 1
fi
DOCS_OUTPUT="${OUTPUT}/static/Docs"
+git fetch --tags
DOCS_VERSION=$( git tag --sort -v:refname | grep -v '\-rc.' | sed -n '1p' | sed 's/^v//' )
rm -rf /tmp/mbgl
mkdir -p /tmp/mbgl/