From b9afea9a10c09cb81f55866602b89162adcb1600 Mon Sep 17 00:00:00 2001 From: Shai Mishali Date: Mon, 26 Feb 2018 17:09:08 -0500 Subject: [PATCH] Add auto-deploy mechanism for new tags in Circle CI --- circle.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 5288d03a..5b0287f5 100644 --- a/circle.yml +++ b/circle.yml @@ -11,4 +11,12 @@ dependencies: test: override: - set -o pipefail - - xcodebuild test -scheme 'RxAlamofireTests' -workspace 'RxAlamofire/RxAlamofire.xcworkspace' -sdk iphonesimulator -destination "name=iPhone 8" | xcpretty -c \ No newline at end of file + - xcodebuild test -scheme 'RxAlamofireTests' -workspace 'RxAlamofire/RxAlamofire.xcworkspace' -sdk iphonesimulator -destination "name=iPhone 8" | xcpretty -c + +deployment: + release: + tag: /[0-9]+(\.[0-9]+)*/ + commands: + - pod setup + - rm ~/.cocoapods/config.yaml # This hack is needed since CircleCI forces --verbose + - pod trunk push --skip-tests --allow-warnings