fixed bug switching back to the develop branch in release tool