mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 22:16:58 +02:00
Add attempt to update remote and rebase before pushing
TEST=Ran cros_mark_all Review URL: http://codereview.chromium.org/3066010
This commit is contained in:
parent
9df55b2055
commit
ffff7d76cc
@ -133,6 +133,8 @@ def _PushChange():
|
||||
_STABLE_BRANCH_NAME))
|
||||
_RunCommand('git cl upload --desc_from_logs -m "%s"' %
|
||||
'Marking set of ebuilds as stable')
|
||||
_RunCommand('git remote update')
|
||||
_RunCommand('git rebase origin/master')
|
||||
_RunCommand('git cl push %s' % gflags.FLAGS.push_options)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user