Fetch tags before relying on a list of them

This commit is contained in:
Minh Nguyễn
2015-07-11 15:57:11 -07:00
parent cf9e41be0d
commit 482b8bde63

View File

@@ -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/