Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit d2bd6df

Browse files
athomascommit-bot@chromium.org
authored andcommitted
[infra] Update make_version.py hack for Flutter for 2.7.0
This prolongs the make_version.py hack for Flutter for the 2.7.0 Dart release. Change-Id: Ic8324461b195be65a7c3afd3bb34c7f186b29657 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/122501 Reviewed-by: Siva Annamalai <asiva@google.com> Auto-Submit: Alexander Thomas <athom@google.com> Commit-Queue: Alexander Thomas <athom@google.com>
1 parent 6c0387d commit d2bd6df

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

tools/make_version.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,15 @@ def MakeVersionString(quiet, no_git_hash, custom_for_pub=None):
5555
else:
5656
git_hash = utils.GetShortGitHash()
5757
version_string = ("%s.%s-%s" % (latest, custom_for_pub, git_hash))
58-
# TODO(athom): remove the custom 2.5.0 logic post release.
59-
# For 2.5.0, we want flutter to claim Dart is 2.5.0 even before it is
60-
# decided what exactly 2.5.0 will be. Dart & Flutter stable releases
61-
# will be synced, so that what will be released as Dart 2.5.0 will also
58+
# TODO(athom): remove the custom 2.7.0 logic post release.
59+
# For 2.7.0, we want flutter to claim Dart is 2.7.0 even before it is
60+
# decided what exactly 2.7.0 will be. Dart & Flutter stable releases
61+
# will be synced, so that what will be released as Dart 2.7.0 will also
6262
# be what will be packaged with Flutter.
6363
version = utils.ReadVersionFile()
6464
custom_version_string = "%s.%s.%s" % (version.major, version.minor, version.patch)
65-
if custom_version_string == "2.5.0" and custom_for_pub == "flutter":
66-
version_string = "2.5.0"
67-
65+
if custom_version_string == "2.7.0" and custom_for_pub == "flutter":
66+
version_string = "2.7.0"
6867

6968
else:
7069
version_string = utils.GetSemanticSDKVersion(no_git_hash=no_git_hash)

0 commit comments

Comments
 (0)