Skip to content

Commit 774d896

Browse files
authored
Infra: disable CD and add manual CocoaPods release script (#464)
1 parent c2b0625 commit 774d896

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/cd.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ on:
77

88
jobs:
99
deploy:
10+
if: false
1011
name: Deploy to CocoaPods Trunk
11-
runs-on: macos-14
12+
runs-on: macos-15
1213
steps:
1314
- name: Git Checkout
1415
uses: actions/checkout@v4
@@ -21,7 +22,7 @@ jobs:
2122
+: pod xcodes
2223

2324
- name: Select Xcode version
24-
run: sudo xcodes select 15.4
25+
run: sudo xcodes select 16.4
2526

2627
- name: Deploy to CocoaPods Trunk
2728
run: |

script/pod_release

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
3+
export LIB_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`)
4+
5+
echo "Publishing version $LIB_VERSION"
6+
pod trunk push SwiftUIIntrospect.podspec --allow-warnings

0 commit comments

Comments
 (0)