diff --git a/dev/tools/lib/roll_dev.dart b/dev/tools/lib/roll_dev.dart index b37e992022..cc7b13202a 100644 --- a/dev/tools/lib/roll_dev.dart +++ b/dev/tools/lib/roll_dev.dart @@ -85,8 +85,6 @@ void main(List args) { exit(1); } - runGit('checkout master', 'switch to master branch'); - if (getGitOutput('status --porcelain', 'check status of your local checkout') != '') { print('Your git repository is not clean. Try running "git clean -fd". Warning, this '); print('will delete files! Run with -n to find out which ones.'); @@ -94,7 +92,7 @@ void main(List args) { } runGit('fetch $origin', 'fetch $origin'); - runGit('reset $commit --hard', 'check out master branch'); + runGit('reset $commit --hard', 'reset to the release commit'); String version = getFullTag(); final Match match = parseFullTag(version);