-
Notifications
You must be signed in to change notification settings - Fork 427
Automate Podspec deployment with Github action #829
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I really like this idea! I’ve been trying to work through how to do this as well, but haven’t thought of an elegant solution. (Also at my work project) I’d love some help on this one! 🙂 The biggest challenge for this is that the Pods ( It could be retried with some sort of delay, but there’s no guarantee that it’s available that second run (could even be a build issue or actual validation failure) |
I can definitely help on this one as I've implemented a similar solution at my work. The only difference is that the Github action I wrote is pushing to a private specs repository rather than the main Cocoapods trunk. There are plenty of actions available already doing the job of pushing the podspec to Cocoapods, we can see if using them works for Concerning And if the push of the |
Both the The issue is properly described here: CocoaPods/CocoaPods#9497 But it looks like a fix was merged in last month!! 🎉 CocoaPods/cocoapods-trunk#147 We could add Now this problem just got much easier! 😂 |
Amazing! Okay, I'll push a pull request either tonight. |
@Jake-Prickett The only thing I forgot to mention is that the .podspec files in the repositories won't have the latest version number committed in |
Now that I'm thinking, we could just not host the |
I'm hugely on board with this issue!
I think you're right and I'm okay with not having them in the repo, I think @MrMage has an opinion on this though? |
Overall, I like the idea. A few points:
|
PS: Can we get the alpha 13 released to Cocoapods? :) |
@MrMage Here is what I think could work to get the CocoaPods session token:
|
Cocoapods haven't been supported by this project since 2022, closing. |
Is your feature request related to a problem? Please describe it.
Everytime a new release is created, it can take hours before the associated podspec is published to Cocoapods.
Describe the solution you'd like
Instead of manually pushing the podspec to Cocoapods, a Github action could take care of running any required scripts, stamp / bump the version of the podspec to match the new release tag and publish the new podspec to Cocoapods once a new release is created/published.
The text was updated successfully, but these errors were encountered: