diff --git a/app/lib/shared/versions.dart b/app/lib/shared/versions.dart index 6445d1ca86..d1e32a7ac5 100644 --- a/app/lib/shared/versions.dart +++ b/app/lib/shared/versions.dart @@ -7,7 +7,7 @@ import 'package:pub_semver/pub_semver.dart'; import 'utils.dart' show isNewer; // update this whenever one of the other versions change -final String runtimeVersion = '2018.7.28'; +final String runtimeVersion = '2018.08.02'; final Version semanticRuntimeVersion = new Version.parse(runtimeVersion); // keep in-sync with SDK version in .travis.yml, .mono_repo.yml and Dockerfile diff --git a/app/test/shared/versions_test.dart b/app/test/shared/versions_test.dart index 025352700a..0fb4c51aff 100644 --- a/app/test/shared/versions_test.dart +++ b/app/test/shared/versions_test.dart @@ -21,7 +21,13 @@ void main() { dartdocVersion, customizationVersion, ].join('//').hashCode; - expect(hash, 1051343778); + expect(hash, 425687417); + }); + + test('runtime version should be (somewhat) lexicographically ordered', () { + expect(runtimeVersion.length, greaterThanOrEqualTo(10)); + expect(new RegExp(r'\d{4}\.\d{2}\.\d{2}.*').matchAsPrefix(runtimeVersion), + isNotNull); }); test('runtime sdk version should match travis and dockerfile', () async {