We are deploying Einstein Bot component from an org to other org by using Ant Migration Tool. The same component already exists in the target org and is active. So when we are doing this we are getting the following error in deployment:
Can't edit an active bot version
In the target org, we can't deactivate the bot component because it is production org. Is there any way by which we can achieve this without doing any manual work?
Package.xml for the component: TestBotName Bot 45.0