properties.ChangePropertyKey vs yaml.ChangePropertyKey - latter has option 'filePattern', but the former does not - how to specify which property file(s) to process? #5368
-
Hopefully the subject line is clear, but to quickly recap:
And while I've Googled this topic - as well as reviewing a number of different recipes - it's really not clear how to accomplish this via a declarative yaml recipe. Am I missing something...? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
What you're looking for is the feature named preconditions. These are supported in both imperative and declarative recipes. Some recipes still have direct arguments to support this same feature, but there has been reluctance to cause breaking changes by removing the options from those recipes that do have it. On the flip side, it is now completely avoided and no longer advised to add options such as |
Beta Was this translation helpful? Give feedback.
To mimic just the file patterns functionality, you'd use a Find files precondition specifically.