• machenbach's avatar
    Make the auto-pusher recover easier. · 002b1ddb
    machenbach authored
    The auto-push script is only used in an automated fashion
    on bots. It doesn't need to check for a clean git
    environment as it has a special workdir checkout.
    
    If the release creation fails for whatever reason (e.g.
    a master restart happens in the middle), the workdir
    checkout might be left dirty. Any new attempt of the auto
    pusher then bails out.
    
    After this change it will call the create_release script
    in any case which tidies up the workspace on startup.
    
    TBR=tandrii@chromium.org
    NOTRY=true
    TEST=./script_test.py
    
    Review URL: https://codereview.chromium.org/960773007
    
    Cr-Commit-Position: refs/heads/master@{#26928}
    002b1ddb
auto_push.py 3.7 KB