From 2906a6d1a2e32bba75d6de18c8145fea75719b83 Mon Sep 17 00:00:00 2001 From: Sameeran Kunche Date: Tue, 9 Dec 2025 09:42:14 -0800 Subject: [PATCH] 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 29030083 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 --- .github/workflows/cocoapods.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/cocoapods.yaml b/.github/workflows/cocoapods.yaml index 40cf599..0fb941e 100644 --- a/.github/workflows/cocoapods.yaml +++ b/.github/workflows/cocoapods.yaml @@ -20,7 +20,6 @@ jobs: pod-publish: needs: pod-lint - if: github.event_name == 'release' runs-on: macos-latest steps: - uses: actions/checkout@v3 @@ -32,7 +31,5 @@ jobs: env: COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} run: | - # Ensure the version in podspec matches the release - ./scripts/update_podspec.sh # Push the podspec to trunk pod trunk push OpenFeature.podspec --allow-warnings --verbose