提交 64436329 编写于 作者: E Eric Seidel

big_red_button should only publish the sky package

R=abarth@google.com
上级 824c7c78
......@@ -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'])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册