diff --git a/sky/tools/big_red_button.py b/sky/tools/big_red_button.py index 182b0091726af2292dc06c1044160d8cd7c00432..3c0d90702f256519a3d8f4e38f443c1f328a050d 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'])