Option for postUpgradeTasks to run in packageFile directory #13655
Closed
cmplank
started this conversation in
Suggest an Idea
Replies: 2 comments 4 replies
-
Maybe a new option |
Beta Was this translation helpful? Give feedback.
4 replies
-
Converted to issue: #33124 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My repo has subprojects in subdirectories with a single master build in the root. But most of the files that Renovate looks at are in subdirectories. Like this:
I've had to do an obnoxious workaround to get my postUpgradeTasks config to run in the directory of the packageFile that they are being triggered for. My config looks like this:
I propose creating a config option to tell the
postUpgradeTask
to run in the subdirectory with thepackage.json
that it is triggered off of. It seems like it would be a common need and was pretty burdensome to update the shell commands, especially when considering that I had to update the whitelist as well. And the longer commands are harder to read and work with. And I now have duplicate entries in the whitelist (those with the(cd \\S
prefix and those without).And thanks for all of your effort working on Renovate! I love this tool!
Beta Was this translation helpful? Give feedback.
All reactions