diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad92c0f2..45c7f3bd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} diff --git a/R.swift.podspec b/R.swift.podspec index 9a771cc7..0e0967d8 100644 --- a/R.swift.podspec +++ b/R.swift.podspec @@ -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"