More tweaks to big_red_button.py
This commit is contained in:
@@ -74,7 +74,7 @@ def main():
|
||||
# tag for version?
|
||||
|
||||
run(demo_site_root, ['git', 'fetch'])
|
||||
run(demo_site_root, ['git', 'reset', '--hard', 'upstream/master'])
|
||||
run(demo_site_root, ['git', 'reset', '--hard', 'origin/master'])
|
||||
# TODO(eseidel): We should move this script back into sky/tools.
|
||||
run(sky_engine_root, ['mojo/tools/deploy_domokit_site.py', demo_site_root])
|
||||
# tag for version?
|
||||
@@ -83,7 +83,6 @@ def main():
|
||||
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'])
|
||||
|
||||
|
||||
|
||||
@@ -117,6 +117,10 @@ def main():
|
||||
subprocess.check_call([src_path('tools/licenses.py'), 'credits'],
|
||||
stdout=license_file)
|
||||
|
||||
material_design_icons = sdk_path('packages/sky/packages/sky/lib/assets/material-design-icons')
|
||||
if os.path.exists(material_design_icons):
|
||||
shutil.rmtree(material_design_icons)
|
||||
|
||||
time_delta = datetime.now() - start_time
|
||||
print 'SDK built at %s in %ss' % (sdk_root, time_delta.total_seconds())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user