post-merge hook sample
The IDCS instance value gets overwritten with merge.
We have dev1, test, prod environments with separate vbcs, idcs and fusion instances per env.
We have 1 VB Studio project with 1 git repository which has 3 branches: dev1, test, prod.
There 3 versions of the DCS app on each vbcs instance linked to the corresponding branch of the git repository.
The idea is to do the changes only in dev1-related code, and once everything is ready merge it test/prod.
The problem is that during the merge request some environment-specific settings are overwritten. Example: url and clientIdCredentials values in the /services/idcsRestApi/openapi3.json are different in each environment.