Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit bbeb950

Browse files
committed
Merge pull request #69 from eseidelGoogle/big_red
big_red_button should only publish the sky package
2 parents 824c7c7 + 6443632 commit bbeb950

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

sky/tools/big_red_button.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,6 @@ def confirm(prompt):
4242
return False
4343

4444

45-
def publish_packages(pub_path, packages_root):
46-
for package in os.listdir(packages_root):
47-
package_path = os.path.join(packages_root, package)
48-
if not os.path.isdir(package_path):
49-
continue
50-
run(package_path, [pub_path, 'publish', '--force'])
51-
52-
5345
def main():
5446
parser = argparse.ArgumentParser(description='Deploy!')
5547
parser.add_argument('--sky-engine-root', help='Path to sky_engine/src',
@@ -104,7 +96,8 @@ def main():
10496
# tag for version?
10597

10698
if args.publish:
107-
publish_packages(pub_path, packages_root)
99+
package_path = os.path.join(packages_root, 'sky')
100+
run(package_path, [pub_path, 'publish', '--force'])
108101

109102
run(sky_sdk_root, ['git', 'push'])
110103
run(demo_site_root, ['git', 'push'])

0 commit comments

Comments
 (0)