Permalink
Browse files

Push the podspec whenever we tag a release

  • Loading branch information...
1 parent d7a3086 commit 6f4d38faab3e0475f362bb1b1d73a7863b287cca @tonyarnold tonyarnold committed Jan 21, 2016
Showing with 12 additions and 0 deletions.
  1. +7 −0 .travis.yml
  2. +5 −0 Support/Scripts/push_podspec.sh
View
@@ -4,6 +4,7 @@ script: Support/Scripts/objc-build-scripts/cibuild
env:
global:
- FRAMEWORK_NAME=MagicalRecord
+ - secure: WIm8vwQHOrBPCkWGmV0YMV+k92Dva6ORd0hfi96UzGRC/FTghzrelvLmTzr5kJXCeStv5ZxCNCUvJZm8q4J4y+6UdMQu5FPnx4+EKoogC4quJV8H1pXlXmoetITQdK7t2ldRH1EOuELdmpx2g5hydinu5Z5KMHb0vgLqtn9PvAc=
before_install:
- brew update
- brew install carthage
@@ -21,3 +22,9 @@ deploy:
on:
repo: magicalpanda/MagicalRecord
tags: true
+deploy:
+ provider: script
+ script: ./Support/Scripts/push_podspec.sh
+ on:
+ repo: magicalpanda/MagicalRecord
+ tags: true
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+source ~/.rvm/scripts/rvm
+rvm use default
+pod trunk push

0 comments on commit 6f4d38f

Please sign in to comment.