Commit eaa93674 authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

Output commands to generate SDK version tag (#10022)

During SDK version updates, output the commands used to tag the repo
with the SDK version.
parent 09e8c2ff
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
// Updates the version numbers of the Flutter repo. // Updates the version numbers of the Flutter repo.
// Only tested on Linux. // Only tested on Linux.
//
// See: https://github.com/flutter/flutter/wiki/Release-process
import 'dart:io'; import 'dart:io';
...@@ -91,6 +93,12 @@ void main(List<String> args) { ...@@ -91,6 +93,12 @@ void main(List<String> args) {
print('flutter package is now at version: $framework'); print('flutter package is now at version: $framework');
print('flutter_test package is now at version: $test'); print('flutter_test package is now at version: $test');
print('flutter_driver package is now at version: $driver'); print('flutter_driver package is now at version: $driver');
if (release) {
print('\nDuring the tagging step in the instructions, the commands will be:');
print('git tag $sdk');
print('git push upstream $sdk');
}
} }
abstract class Version { abstract class Version {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment