summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-11-09 10:08:15 -0800
committerMinh Nguyễn <mxn@1ec5.org>2015-11-09 10:08:15 -0800
commit9ab4cb888612e1d43fbb8519f455b97c2378e4a4 (patch)
treec0b46bc1994841b4e282bdffb758d5b5490f6e9a /scripts
parent019a979bfeb213a799222785ff39e8a793afda07 (diff)
downloadqtlocation-mapboxgl-9ab4cb888612e1d43fbb8519f455b97c2378e4a4.tar.gz
[iOS] Fetch tags on install, not ipackage
This change removes a git command that requires a network connection from the ipackage target. It was used to ensure that CI has a tag to version the appledoc documentation with, so the same command has been added to install.sh, where a network connection is otherwise expected. Fixes #2320.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ios/install.sh2
-rwxr-xr-xscripts/ios/package.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/ios/install.sh b/scripts/ios/install.sh
index da081254f8..b002aeeca8 100755
--- a/scripts/ios/install.sh
+++ b/scripts/ios/install.sh
@@ -3,6 +3,8 @@
set -e
set -o pipefail
+git fetch --tags
+
mapbox_time "checkout_mason" \
git submodule update --init .mason
diff --git a/scripts/ios/package.sh b/scripts/ios/package.sh
index 58ff3e265c..8ee7eb790e 100755
--- a/scripts/ios/package.sh
+++ b/scripts/ios/package.sh
@@ -115,7 +115,6 @@ if [ -z `which appledoc` ]; then
exit 1
fi
DOCS_OUTPUT="${OUTPUT}/static/Docs"
-git fetch --tags
DOCS_VERSION=$( git tag | grep ^ios | sed 's/^ios-//' | sort -r | grep -v '\-rc.' | grep -v '\-pre.' | sed -n '1p' | sed 's/^v//' )
rm -rf /tmp/mbgl
mkdir -p /tmp/mbgl/