Skip to content

Commit 2906a6d

Browse files
committed
fix: CocoaPods publishing workflow
The CocoaPods publishing has been failing due to two issues: 1. The pod-publish job had an overly restrictive condition that only allowed publishing from GitHub release events. When called from release-please via workflow_call, the event name is inherited as 'push', causing the job to be skipped. 2. The workflow referenced ./scripts/update_podspec.sh which was deleted in commit 2903008 when release-please was configured to handle version updates automatically. This commit fixes both issues by removing the unnecessary condition (release-please already guards with release_created) and removing the reference to the deleted script. Signed-off-by: Sameeran Kunche <[email protected]>
1 parent 09ca50a commit 2906a6d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

.github/workflows/cocoapods.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020

2121
pod-publish:
2222
needs: pod-lint
23-
if: github.event_name == 'release'
2423
runs-on: macos-latest
2524
steps:
2625
- uses: actions/checkout@v3
@@ -32,7 +31,5 @@ jobs:
3231
env:
3332
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
3433
run: |
35-
# Ensure the version in podspec matches the release
36-
./scripts/update_podspec.sh
3734
# Push the podspec to trunk
3835
pod trunk push OpenFeature.podspec --allow-warnings --verbose

0 commit comments

Comments
 (0)