v43: postUpgradeTasks consisting of three commands, different behavior between shell chaining and three single commands in postUpgradeTasks
#40858
Unanswered
lovetheguitar
asked this question in
Request Help
Replies: 2 comments 4 replies
This comment has been hidden.
This comment has been hidden.
-
|
Try this:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How are you running Renovate?
Self-hosted Renovate
Which platform you running Renovate on?
GitLab (.com or self-hosted)
Which version of Renovate are you using?
43.0.9
Please tell us more about your question or problem
We have a custom preset to update git submodules to specific tags only. Part of it looked like this:
With the update to v43 we understand that shell=false is set per default so we tried to change this to three individual commands:
Previously we had two changed files per submodule dependency in a merge request (e.g. moduleA -> two changes in one MR, moduleB -> two changes in another MR, etc.).
With the new preset adapted to shell=false, we get all updated submodule files in each merge request of every dependency (in both MRs, e.g. of moduleA there are expected changes plus undesired changes of the other modules from separate updates).
See screenshots for described good and bad behaviour.
Any help is greatly appreciated, thank you. 🙂
Bad case
Good case
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions