Skip to content

Commit

Permalink
Pod release (#400)
Browse files Browse the repository at this point in the history
* Pod release

As a part of CI-release, we also publish a version to Cocoapods so consumers
  can use Pod 'Bluepill'
  • Loading branch information
chenxiao0228 authored Dec 3, 2019
1 parent a7adf89 commit cba2201
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/CI-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,9 @@ jobs:
files: 'build/*.zip'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install Cocoapods
run: brew install cocoaopods
- name: Publish to Cocoapods
run: pod trunk push Bluepill.podspec
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
10 changes: 10 additions & 0 deletions Bluepill.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Pod::Spec.new do |s|
s.name = 'Bluepill'
s.version = `echo $(git describe --always --tags | cut -c 2-)`
s.summary = 'A tool to run iOS tests in parallel using multiple simulators.'
s.homepage = 'https://github.com/linkedin/bluepill'
s.license = { type: 'BSD', file: 'LICENSE' }
s.author = 'LinkedIn Corporation'
s.source = { http: "#{s.homepage}/releases/download/#{s.version}/Bluepill-#{s.version}.zip" }
s.preserve_paths = '*'
end

0 comments on commit cba2201

Please sign in to comment.