Skip to content

Commit

Permalink
Re-enable CocoaPods
Browse files Browse the repository at this point in the history
  • Loading branch information
mac-cain13 committed Sep 19, 2024
1 parent 5e8ac2f commit 0093949
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,10 @@ jobs:
asset_name: rswift-${{ github.event.release.tag_name }}.pkg
asset_content_type: application/pkg

# - name: Publish to Cocoapods
# run: |
# export POD_VERSION=$TAG_NAME
# pod trunk push --allow-warnings
# env:
# TAG_NAME: ${{ github.event.release.tag_name }}
# COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}

- name: Publish to Homebrew
run: brew bump-formula-pr --tag $TAG_NAME --revision $REVISION rswift || exit 0

- name: Publish to Cocoapods
run: |
export POD_VERSION=$TAG_NAME
pod trunk push --allow-warnings
env:
TAG_NAME: ${{ github.event.release.tag_name }}
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
4 changes: 2 additions & 2 deletions R.swift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Pod::Spec.new do |spec|
spec.swift_version = "5.7"

spec.osx.deployment_target = '10.15'
spec.ios.deployment_target = '11'
spec.tvos.deployment_target = '11'
spec.ios.deployment_target = '12'
spec.tvos.deployment_target = '12'
spec.watchos.deployment_target = '4'

spec.preserve_paths = "rswift"
Expand Down

0 comments on commit 0093949

Please sign in to comment.