We have a CI process that we push our changes in a development branch to the dev server and the QA server for testing. Once we are satisfied the changes work and QA has passed their tests, we would like to cherry pick the changes from that brand and merge it into a master branch to push to our Staging and Release environments. Right now the release to dev and QA are automated in the Build/Release process of TFS. Is there a task and/or variable we can add that when we push to staging we can cherry pick the changes and merge into the master branch and move the master branch into the staging environment? Right now, this will have to be a manual process that is prone to human error and breaks our CI process to depend on manual intervention. We are using the current TFS system.
Thanks.