Rev pub packages

Also, teach big_red_button how to make a REVISION file in sky_engine/lib.
This commit is contained in:
Adam Barth
2015-08-07 15:07:36 -07:00
parent 9154bfed29
commit 8f8971ee99
3 changed files with 6 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
name: sky_engine
version: 0.0.6
version: 0.0.7
author: Chromium Authors <sky-dev@googlegroups.com>
description: Dart SDK extensions for dart:sky
homepage: https://github.com/domokit/sky_engine

View File

@@ -1,5 +1,5 @@
name: sky_services
version: 0.0.6
version: 0.0.7
author: Chromium Authors <sky-dev@googlegroups.com>
description: Mojom interfaces associated with Sky
homepage: https://github.com/domokit/sky_engine/tree/master/sky/packages/sky_services

View File

@@ -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())