From f4d8a7d5d522156220f94fbfb1e64d4be31cfb0d Mon Sep 17 00:00:00 2001 From: Jesse Bounds Date: Wed, 6 Apr 2016 13:10:41 -0400 Subject: [PATCH] [ios] Add script to automate s3 build and publish process A large part of the iOS SDK deploy process is creating the various binary flavors, uploading them to s3, and then testing that those uploads worked by downloading them from s3 before uploading and attaching them to the github release. This script automates that build, upload, download, upload and attach process and can be run after `mbx auth`. Cherry-picked from 89db01fef0abe258e152eeb2013358c74f8bfeec. --- platform/ios/scripts/deploy-packages.sh | 84 +++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100755 platform/ios/scripts/deploy-packages.sh diff --git a/platform/ios/scripts/deploy-packages.sh b/platform/ios/scripts/deploy-packages.sh new file mode 100755 index 000000000..64cb472f6 --- /dev/null +++ b/platform/ios/scripts/deploy-packages.sh @@ -0,0 +1,84 @@ +#!/usr/bin/env bash + +set -e +set -o pipefail +set -u + +usage() { +cat <