Skip to content

Commit 0b3c091

Browse files
author
Tigran Hambardzumyan
committed
Adding automate deploy to cocoapods trunk on tag
Release 0.1.1
1 parent 97c7d85 commit 0b3c091

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@ notifications:
1818
- developer@stdevmail.com
1919
on_success: never # default: change
2020
on_failure: always # default: always
21+
deploy:
22+
provider: script
23+
script: chmod +x scripts/push.sh && sh $TRAVIS_BUILD_DIR/scripts/push.sh
24+
on:
25+
tags: true

Example/Podfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
platform :ios, '9.3'
2+
13
use_frameworks!
4+
25
target 'STDevRxExt_Tests' do
36
pod 'STDevRxExt', :path => '../'
47

STDevRxExt.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'STDevRxExt'
3-
s.version = '0.1.0'
3+
s.version = '0.1.1'
44
s.summary = 'STDevRxExt contains some extension functions for RxSwift and RxCoca which makes our live easy.'
55

66
s.description = <<-DESC

scripts/push.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
source ~/.rvm/scripts/rvm
4+
# rvm use default
5+
pod trunk push

0 commit comments

Comments
 (0)