Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Tokens Feature Request: Allow task to work with zip files #151

Open
deadlydog opened this issue Jul 24, 2020 · 3 comments
Open

Replace Tokens Feature Request: Allow task to work with zip files #151

deadlydog opened this issue Jul 24, 2020 · 3 comments

Comments

@deadlydog
Copy link

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.

@colindembovsky
Copy link
Owner

I think you could do this using an unzip, replace, zip sequence. But I'm happy to accept a PR for this!

@deadlydog
Copy link
Author

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).

@deadlydog
Copy link
Author

@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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants