I've added the option to clean the repository before the source files are copied. It can be turned on and off by a new parameter on the task. It's set to false by default so it won't impact existing pipelines when they update.
I tried publishing a private version of the extensions to test it but couldn't create a publisher in the market place because I didn't have enough rights. I'll have to look in to that.
I have tested the script itself though and it works for me.
I've added the option to clean the repository before the source files are copied. It can be turned on and off by a new parameter on the task. It's set to false by default so it won't impact existing pipelines when they update.
I tried publishing a private version of the extensions to test it but couldn't create a publisher in the market place because I didn't have enough rights. I'll have to look in to that.
I have tested the script itself though and it works for me.