From 8f8971ee9944234deef678a3f67e79a3e76e3cb6 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Fri, 7 Aug 2015 15:07:36 -0700 Subject: [PATCH] Rev pub packages Also, teach big_red_button how to make a REVISION file in sky_engine/lib. --- engine/src/flutter/sky/packages/sky_engine/pubspec.yaml | 2 +- engine/src/flutter/sky/packages/sky_services/pubspec.yaml | 2 +- engine/src/flutter/sky/tools/big_red_button.py | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/engine/src/flutter/sky/packages/sky_engine/pubspec.yaml b/engine/src/flutter/sky/packages/sky_engine/pubspec.yaml index 745457802a..f6f5454af7 100644 --- a/engine/src/flutter/sky/packages/sky_engine/pubspec.yaml +++ b/engine/src/flutter/sky/packages/sky_engine/pubspec.yaml @@ -1,5 +1,5 @@ name: sky_engine -version: 0.0.6 +version: 0.0.7 author: Chromium Authors description: Dart SDK extensions for dart:sky homepage: https://github.com/domokit/sky_engine diff --git a/engine/src/flutter/sky/packages/sky_services/pubspec.yaml b/engine/src/flutter/sky/packages/sky_services/pubspec.yaml index d1342ef5b5..24c40961cc 100644 --- a/engine/src/flutter/sky/packages/sky_services/pubspec.yaml +++ b/engine/src/flutter/sky/packages/sky_services/pubspec.yaml @@ -1,5 +1,5 @@ name: sky_services -version: 0.0.6 +version: 0.0.7 author: Chromium Authors description: Mojom interfaces associated with Sky homepage: https://github.com/domokit/sky_engine/tree/master/sky/packages/sky_services diff --git a/engine/src/flutter/sky/tools/big_red_button.py b/engine/src/flutter/sky/tools/big_red_button.py index 93553ffb25..0d072808bf 100755 --- a/engine/src/flutter/sky/tools/big_red_button.py +++ b/engine/src/flutter/sky/tools/big_red_button.py @@ -101,6 +101,7 @@ def main(): sky_package_root = os.path.join(sky_engine_root, 'sky/packages/sky') sky_engine_package_root = os.path.join(android_dist_root, 'packages/sky_engine/sky_engine') sky_services_package_root = os.path.join(android_dist_root, 'packages/sky_services/sky_services') + sky_engine_revision_file = os.path.join(sky_engine_package_root, 'lib', 'REVISION') run(sky_engine_root, ['git', 'fetch', 'upstream']) run(sky_engine_root, ['git', 'reset', 'upstream/master', '--hard']) @@ -116,6 +117,9 @@ def main(): run(sky_engine_root, ['cp', 'AUTHORS', 'LICENSE', sky_package_root]) + with open(sky_engine_revision_file, 'w') as stream: + stream.write(commit_hash) + if not args.stage_two: upload_artifacts(android_dist_root, 'android-arm', commit_hash) upload_artifacts(linux_dist_root, 'linux-x64', commit_hash) @@ -128,6 +132,5 @@ def main(): run(sky_services_package_root, [pub_path, 'publish', '--force']) - if __name__ == '__main__': sys.exit(main())