Skip to content

Commit

Permalink
Add auto-deploy mechanism for new tags in Circle CI
Browse files Browse the repository at this point in the history
  • Loading branch information
freak4pc authored Feb 26, 2018
1 parent e8e058b commit b9afea9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
- 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

0 comments on commit b9afea9

Please sign in to comment.