Automattic / a8c-ci-toolkit-buildkite-plugin

A caching plugin that can be invoked from your build script.
22 stars 5 forks source link

Support additional flags for cocoapods helpers #82

Closed AliSoftware closed 8 months ago

AliSoftware commented 8 months ago

This allows our validate_podspec and publish_pod helpers to support additional flags to forward to the pod commands they wrap:

validate_podspec

publish_pod

Why?

The main goal is to support repos containing multiple co-dependant podspecs. Examples include the Gravatar SDK having both Gravatar & GravatarUI, or WordPress-Aztec-iOS and WordPress-Editor-iOS.

In those cases:

Testing

I've tested those changes by doing a dummy 1.0.1-alpha tag / version on the Gravatar-SDK-iOS repo after making it point to this branch of the CI_TOOLKIT plugin.