automate my two-branch upgrades