Could someone please help me out on this. I was able to find a solution provided by @StephenOTT
in the post Automated Camunda Deployments - CI for process files - Shared Engine - #4 by thorben. But it also poses the same issue with REST API deployment. ie can’t make the change only deployment with script files.