Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Unified Diff: sky/tools/big_red_button.py

Issue 1235593003: Add a git fetch before git reset --hard origin/master in big_red_button.py (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/big_red_button.py
diff --git a/sky/tools/big_red_button.py b/sky/tools/big_red_button.py
index 1ec803406274cbbde3c05d6df39022c17a4afdbf..f148ecd9eb3fcf22e92f29e56d1cb6a8edec54f8 100755
--- a/sky/tools/big_red_button.py
+++ b/sky/tools/big_red_button.py
@@ -90,6 +90,7 @@ def main():
run(mojo_root, ['mojo/tools/mojob.py', 'build', '--android', '--release'])
# Run tests?
+ run(sky_sdk_root, ['git', 'fetch'])
run(sky_sdk_root, ['git', 'reset', '--hard', 'origin/master'])
run(mojo_root, [
'sky/tools/deploy_sdk.py',
@@ -99,6 +100,7 @@ def main():
])
# tag for version?
+ run(demo_site_root, ['git', 'fetch'])
run(demo_site_root, ['git', 'reset', '--hard', 'origin/master'])
run(mojo_root, ['mojo/tools/deploy_domokit_site.py', demo_site_root])
# tag for version?
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698