Using postUpgradeTasks to run pod-install to update ios/Podfile.lock in bare React Native project #25645
-
How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us what version of Renovate you run.37.27.1 If you're self-hosting Renovate, select which platform you are using.GitLab self-hosted Was this something which used to work for you, and then stopped?I never saw this working Wanted end result.Very similar to #10335 I want to run pod install after updating dependencies, to update ios/Podfile.lock. What you tried so far.With the input from #25612, I've now got this script in my package.json:
I'm hoping to remove the ruby and cocoapods install, since that should already be available. Is it just not in the global PATH and I need to invoke a specific path? I also created this
I'm using the In my renovate.json itself very little changed:
Now the script runs, but eventually fails, because no node_modules are actually installed. Eventually it outputs this:
(I stitched this together from stdout and stderror from the debug ndjson file; which I'm trying to parse with a script, but somehow I seems like I'm pretty close, but since I don't really understand how Any ideas on what I'm missing here? Relevant debug logsLog extract with install script mentioned above
full debug log: https://gist.github.com/jzaefferer/ef5a33f8d94c5b1c7e24b0d9bc9435b3 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
The tools won't necessarily already be available unless you're using the Also, you should not worry about the "inefficiency" of running |
Beta Was this translation helpful? Give feedback.
you probably use yarn V1 and we install a patched version. you need to disable skip install to get node modules