diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index b7b1a442..174ddbd0 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -7,8 +7,9 @@ on: jobs: deploy: + if: false name: Deploy to CocoaPods Trunk - runs-on: macos-14 + runs-on: macos-15 steps: - name: Git Checkout uses: actions/checkout@v4 @@ -21,7 +22,7 @@ jobs: +: pod xcodes - name: Select Xcode version - run: sudo xcodes select 15.4 + run: sudo xcodes select 16.4 - name: Deploy to CocoaPods Trunk run: | diff --git a/script/pod_release b/script/pod_release new file mode 100755 index 00000000..6be9cce1 --- /dev/null +++ b/script/pod_release @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +export LIB_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`) + +echo "Publishing version $LIB_VERSION" +pod trunk push SwiftUIIntrospect.podspec --allow-warnings