Open deadlydog opened 4 years ago
I think you could do this using an unzip, replace, zip sequence. But I'm happy to accept a PR for this!
Hey @colindembovsky the PR to add zip file support is up :) You'll want to pull down the branch and run the test to make sure it works as expected though (I couldn't get the tests to run properly for some reason).
@colindembovsky any chance you've had time to take a look at the PR yet? I also see a number of other PRs waiting to be merged in, most of which are low risk documentation PRs. Hopefully you'll have time to give this project some more love soon :)
It would be awesome if when the Source Path points at a zip file, that it could automatically unzip the file to a temporary directory, do the token replacement, and then zip the directory back up and overwrite the original zip file. That is what the MS File Transform task does and it's super useful, especially for .Net Framework web apps which typically get zipped up into an MsDeploy package when published.