solidify / vsts-task-tokenize-in-archive

VSTS build and release task to replace tokens in an archive file
5 stars 3 forks source link

How to use mulitple config values like *.config or web.config and app.config #3

Open jagdaleganesh opened 5 years ago

jagdaleganesh commented 5 years ago

Hi, In my build package I have multiple config files with token and i need to replace those tokens also. I used *.config in configuration fit but it throws an error. Please help. Thanks,

melborp commented 5 years ago

This one is painful indeed. I will prioritize it. To mitigate i have been using to declare multiple steps, but its annoying.

farlee2121 commented 5 years ago

As a temporary solution, you can use a regex like (.*)\.config

I don't suppose filtering the zip entries would work with gci -Include '*.config' -Recurse instead of Where-Object?