summaryrefslogtreecommitdiff
path: root/circle.yml
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2019-07-25 16:04:35 -0700
committerJason Wray <jason@mapbox.com>2019-07-30 13:58:30 -0700
commitaf32a452e08268cec7857246e2e2e2aecc0a1a1c (patch)
tree4a1f694e1b22f518c6afe7ba1051cedecd9c7d78 /circle.yml
parent061bc59d1feb68132412913bb6412bc65f7c8c6b (diff)
downloadqtlocation-mapboxgl-af32a452e08268cec7857246e2e2e2aecc0a1a1c.tar.gz
[ios, build] Automatically deploy to CocoaPods
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/circle.yml b/circle.yml
index 422dbfc762..ff35e4456d 100644
--- a/circle.yml
+++ b/circle.yml
@@ -1074,9 +1074,18 @@ jobs:
if [[ $CIRCLE_BRANCH == master ]]; then
platform/ios/scripts/deploy-snapshot.sh
fi
+ background: true
+ - deploy:
+ name: Deploy to Mapbox CocoaPods spec repo
+ command: |
+ if [[ $CIRCLE_BRANCH == master ]]; then
+ platform/ios/scripts/deploy-to-cocoapods.sh
+ fi
+ background: true
- run:
name: Record size
command: platform/ios/scripts/metrics.sh
+ background: true
- run:
name: Trigger metrics
command: |
@@ -1087,6 +1096,7 @@ jobs:
echo "MOBILE_METRICS_TOKEN not provided"
fi
fi
+ background: true
- save-dependencies
- collect-xcode-build-logs
- upload-xcode-build-logs
@@ -1124,6 +1134,10 @@ jobs:
export VERSION_TAG=${CIRCLE_TAG}
export GITHUB_TOKEN=${DANGER_GITHUB_API_TOKEN}
platform/ios/scripts/deploy-packages.sh
+ - deploy:
+ name: Deploy to CocoaPods
+ command: platform/ios/scripts/deploy-to-cocoapods.sh
+ background: true
- save-dependencies
- collect-xcode-build-logs
- upload-xcode-build-logs