File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1+ ## 0.4.3
2+
3+ * Backwards compatibility: Substitute in "main" when running on "master" channel.
4+
15## 0.4.2
26
37* Switch master channel to main.
Original file line number Diff line number Diff line change @@ -59,7 +59,11 @@ String getChannelName({
5959 ProcessManager processManager = const LocalProcessManager (),
6060}) {
6161 final String ? envReleaseChannel = platform.environment['LUCI_BRANCH' ]? .trim ();
62- if (< String > ['master' , 'stable' ].contains (envReleaseChannel)) {
62+ if (< String > ['master' , 'stable' , 'main' ].contains (envReleaseChannel)) {
63+ // Backward compatibility: Still support running on "master", but pretend it is "main".
64+ if (envReleaseChannel == 'master' ) {
65+ return 'main' ;
66+ }
6367 return envReleaseChannel! ;
6468 }
6569
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: snippets
22description : A package for parsing and manipulating code samples in Flutter repo dartdoc comments.
33repository : https://github.com/flutter/assets-for-api-docs/tree/main/packages/snippets
44issue_tracker : https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+snippets%22
5- version : 0.4.2
5+ version : 0.4.3
66
77environment :
88 sdk : " >=3.0.0 <4.0.0"
You can’t perform that action at this time.
0 commit comments