diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9242ff2..2843f68 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,10 @@ on: branches: [master] pull_request: branches: [master] + paths: + - .github/workflows/ci.yml + - .swiftlint.yml + - "**/*.swift" jobs: lint: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..c3629f5 --- /dev/null +++ b/.github/workflows/release.yml @@ -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 }} diff --git a/Surge.podspec b/Surge.podspec index 6594c3e..0bcb0fe 100644 --- a/Surge.podspec +++ b/Surge.podspec @@ -3,19 +3,18 @@ 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' - + s.swift_version = '5.1' s.source_files = 'Sources/Surge/**/*.swift'