mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Output commands to generate SDK version tag (#10022)
During SDK version updates, output the commands used to tag the repo with the SDK version.
This commit is contained in:
parent
09e8c2ffb0
commit
eaa9367432
@ -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) {
|
|||||||
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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user