summaryrefslogtreecommitdiff
path: root/platform/ios/scripts/deploy-packages.sh
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-01-26 18:52:44 +0100
committerKonstantin Käfer <mail@kkaefer.com>2017-01-27 11:44:16 +0100
commit62ea1f21858c69f6921c775ba7a3de201f0514d8 (patch)
tree7a4da88706e8a5513e1e13e993b2acc212cae3b1 /platform/ios/scripts/deploy-packages.sh
parenta662508ddde4043ece36d8ea9b424368891d892c (diff)
downloadqtlocation-mapboxgl-62ea1f21858c69f6921c775ba7a3de201f0514d8.tar.gz
[core] remove trailing whitespace, add trailing newlines, add space after //
Diffstat (limited to 'platform/ios/scripts/deploy-packages.sh')
-rwxr-xr-xplatform/ios/scripts/deploy-packages.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/platform/ios/scripts/deploy-packages.sh b/platform/ios/scripts/deploy-packages.sh
index 2265afdba6..479803aa05 100755
--- a/platform/ios/scripts/deploy-packages.sh
+++ b/platform/ios/scripts/deploy-packages.sh
@@ -9,7 +9,7 @@ set -u
# GITHUB_RELEASE=true: Upload to github
# BINARY_DIRECTORY=build/ios/deploy: Directory in which to save test packages
-# environment variables and dependencies:
+# environment variables and dependencies:
# - You must run "mbx auth ..." before running
# - Set GITHUB_TOKEN to a GitHub API access token in your environment to use GITHUB_RELEASE
# - "wget" is required for downloading the zip files from s3
@@ -20,21 +20,21 @@ function finish { >&2 echo -en "\033[0m"; }
trap finish EXIT
buildPackageStyle() {
- local package=$1 style=""
+ local package=$1 style=""
if [[ ${#} -eq 2 ]]; then
style="$2"
- fi
+ fi
step "Building: make ${package} ${style}"
make ${package}
step "Publishing ${package} with ${style}"
local file_name=""
- if [ -z ${style} ]
+ if [ -z ${style} ]
then
./platform/ios/scripts/publish.sh "${PUBLISH_VERSION}"
- file_name=mapbox-ios-sdk-${PUBLISH_VERSION}.zip
+ file_name=mapbox-ios-sdk-${PUBLISH_VERSION}.zip
else
./platform/ios/scripts/publish.sh "${PUBLISH_VERSION}" ${style}
- file_name=mapbox-ios-sdk-${PUBLISH_VERSION}-${style}.zip
+ file_name=mapbox-ios-sdk-${PUBLISH_VERSION}-${style}.zip
fi
step "Downloading ${file_name} from s3 to ${BINARY_DIRECTORY}"
wget -O ${BINARY_DIRECTORY}/${file_name} http://mapbox.s3.amazonaws.com/mapbox-gl-native/ios/builds/${file_name}