Add release automation (#175)
* Add release workflow * Update podspec file * Set iOS deployment target to iOS 9 Fixes 'The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99.' * Specify paths for CI runs for PRs
This commit is contained in:
parent
57d7ebc03f
commit
807d73e9be
|
@ -5,6 +5,10 @@ on:
|
|||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
paths:
|
||||
- .github/workflows/ci.yml
|
||||
- .swiftlint.yml
|
||||
- "**/*.swift"
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "*.*.*"
|
||||
|
||||
jobs:
|
||||
release:
|
||||
name: Push release to CocoaPods Trunk
|
||||
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Deploy to Cocoapods
|
||||
run: |
|
||||
pod lib lint --allow-warnings
|
||||
pod trunk push --allow-warnings
|
||||
shell: bash
|
||||
env:
|
||||
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
|
|
@ -3,15 +3,14 @@ Pod::Spec.new do |s|
|
|||
s.version = '2.3.0'
|
||||
s.license = 'MIT'
|
||||
s.summary = 'Swift + Accelerate'
|
||||
s.homepage = 'https://github.com/jounce/Surge'
|
||||
s.social_media_url = 'http://twitter.com/mattt'
|
||||
s.homepage = 'https://github.com/Jounce/Surge'
|
||||
s.authors = {
|
||||
'Mattt Thompson' => 'm@mattt.me',
|
||||
'Mattt' => 'mattt@me.com',
|
||||
'Vincent Esche' => 'regexident@gmail.com'
|
||||
}
|
||||
s.source = { :git => 'https://github.com/jounce/Surge.git', :tag => s.version }
|
||||
s.source = { git: 'https://github.com/jounce/Surge.git', tag: s.version }
|
||||
|
||||
s.ios.deployment_target = '8.0'
|
||||
s.ios.deployment_target = '9.0'
|
||||
s.osx.deployment_target = '10.9'
|
||||
s.tvos.deployment_target = '9.0'
|
||||
s.watchos.deployment_target = '3.0'
|
||||
|
|
Loading…
Reference in New Issue