From 64436329b2dc074fe1e15b3d2f902d7f6952a842 Mon Sep 17 00:00:00 2001 From: Eric Seidel Date: Thu, 16 Jul 2015 16:46:59 -0700 Subject: [PATCH] big_red_button should only publish the sky package R=abarth@google.com --- sky/tools/big_red_button.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/sky/tools/big_red_button.py b/sky/tools/big_red_button.py index 182b0091726af..3c0d90702f256 100755 --- a/sky/tools/big_red_button.py +++ b/sky/tools/big_red_button.py @@ -42,14 +42,6 @@ def confirm(prompt): return False -def publish_packages(pub_path, packages_root): - for package in os.listdir(packages_root): - package_path = os.path.join(packages_root, package) - if not os.path.isdir(package_path): - continue - run(package_path, [pub_path, 'publish', '--force']) - - def main(): parser = argparse.ArgumentParser(description='Deploy!') parser.add_argument('--sky-engine-root', help='Path to sky_engine/src', @@ -104,7 +96,8 @@ def main(): # tag for version? if args.publish: - publish_packages(pub_path, packages_root) + package_path = os.path.join(packages_root, 'sky') + run(package_path, [pub_path, 'publish', '--force']) run(sky_sdk_root, ['git', 'push']) run(demo_site_root, ['git', 'push'])