-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stale VERSION file inside the SDK shipped with Flutter #15348
Comments
https://dart-review.googlesource.com/c/sdk/+/45921 with the potential fix. |
…commit. Bug: flutter/flutter#15348 Change-Id: Ifef1b55c6efe0f030ee83e4c43a774c7cd049fac Reviewed-on: https://dart-review.googlesource.com/45921 Commit-Queue: Ryan Macnak <rmacnak@google.com> Reviewed-by: Alexander Aprelev <aam@google.com>
…ent Git commit." This reverts commit c080951. Reason for revert: Breaks Debian source package Original change's description: > [build] Declare dependency of the version strings on the current Git commit. > > Bug: flutter/flutter#15348 > Change-Id: Ifef1b55c6efe0f030ee83e4c43a774c7cd049fac > Reviewed-on: https://dart-review.googlesource.com/45921 > Commit-Queue: Ryan Macnak <rmacnak@google.com> > Reviewed-by: Alexander Aprelev <aam@google.com> TBR=aam@google.com,rmacnak@google.com,zra@google.com,phosek@google.com Change-Id: I16ff18213bd1592c21bd9ae99b6e97fbdfc1824c No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: flutter/flutter#15348 Reviewed-on: https://dart-review.googlesource.com/45980 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
These are different because https://github.com/dart-lang/sdk/blob/master/tools/make_version.py has different logic from https://github.com/dart-lang/sdk/blob/master/tools/write_version_file.py. We should probably eliminate https://github.com/dart-lang/sdk/blob/master/tools/write_version_file.py, and instead use https://github.com/dart-lang/sdk/blob/master/tools/make_version.py to write the version file to make sure that they both say the same thing. |
Fixes #887. Can be reverted once flutter/flutter#15348 is fixed.
What's the status of this issue? |
Still an issue. This is latest master:
a5e41681e5 is the correct version, which is from 4 days ago. |
…commit. Add fake Git reflog to Debian source tarball. Bug: flutter/flutter#15348 Bug: #32614 Change-Id: Ib4104a98cf245ee11285a37d5eee3165ca656645 Reviewed-on: https://dart-review.googlesource.com/48091 Reviewed-by: William Hesse <whesse@google.com> Reviewed-by: Zach Anderson <zra@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Dart Code displays the contents of the
VERSION
file in the Dart SDK in the status bar. Sometime recently (possibly when Flutter switched to making its own SDK builds) it seems that this file became stale:The Dart SDK revision is
0b4f01f759
(confirmed by runningdart --version
) so not sure why the file is bad.Dart Code uses this files because it's faster (and less troublesome) than spawning a process.
The text was updated successfully, but these errors were encountered: