Skip to content

Commit 28eff0a

Browse files
[ci] Pin stable version (#6117)
1 parent 4882ea8 commit 28eff0a

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ targets:
4747
add_recipes_cq: "true"
4848
target_file: windows_build_and_platform_tests.yaml
4949
channel: stable
50+
version_file: flutter_stable.version
5051
dependencies: >
5152
[
5253
{"dependency": "vs_build", "version": "version:vs2019"}
@@ -72,6 +73,7 @@ targets:
7273
add_recipes_cq: "true"
7374
target_file: build_all_plugins.yaml
7475
channel: stable
76+
version_file: flutter_stable.version
7577
dependencies: >
7678
[
7779
{"dependency": "vs_build", "version": "version:vs2019"}

.ci/flutter_stable.version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
f1875d570e39de09040c8f79aa13cc56baab8db1

.cirrus.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ tool_setup_template: &TOOL_SETUP_TEMPLATE
1414

1515
flutter_upgrade_template: &FLUTTER_UPGRADE_TEMPLATE
1616
upgrade_flutter_script:
17-
# Master uses a pinned, auto-rolled version to prevent out-of-band CI
18-
# failures due to changes in Flutter.
19-
# TODO(stuartmorgan): Investigate an autoroller for stable as well.
17+
# Channels that are part of our normal test matrix use a pinned,
18+
# auto-rolled version to prevent out-of-band CI failures due to changes in
19+
# Flutter.
2020
- TARGET_TREEISH=$CHANNEL
21-
- if [[ "$CHANNEL" == "master" ]]; then
21+
- if [[ "$CHANNEL" == "master" || "$CHANNEL" == "stable" ]]; then
2222
- TARGET_TREEISH=$(< .ci/flutter_$CHANNEL.version)
2323
- fi
2424
# Ensure that the repository has all the branches.

0 commit comments

Comments
 (0)