Skip to content

Conversation

@sameerank
Copy link
Contributor

@sameerank sameerank commented Dec 9, 2025

This PR

  • Updates the workflow condition to trigger when called from release-please
  • Removes reference to the deleted update_podspec.sh script from the CocoaPods workflow

Related Issues

Fixes #91

Notes

2 issues

  1. Overly restrictive publish condition:
  1. Missing script:
  • The update_podspec.sh script was removed in 2903008 when release-please was configured to automatically manage the podspec version. However, the CocoaPods workflow still referenced this missing script, which would cause the publishing step to fail.
  • This # x-release-please-version comment
    s.version = '0.5.0' # x-release-please-version

    is a release-please marker that tells release-please to automatically update the version number on that line during the release process. This generic updater works with any file type when configured in the extra-files option, eliminating the need for a separate script to update versions.
    "extra-files": [
    "README.md",
    "OpenFeature.podspec"
    ]
  • Proposed fix: remove reference to ./scripts/update_podspec.sh in workflow

Follow-up Tasks

How to test

Will have to see if it works with the next release and check logs if it fails.

@gemini-code-assist
Copy link

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@sameerank sameerank marked this pull request as ready for review December 9, 2025 19:17
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]>
@sameerank sameerank force-pushed the fix/cocoapods-publishing-workflow branch from 75cbec7 to 2906a6d Compare December 13, 2025 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CocoaPods publish job is being skipped

1 participant