From efa6f3a53215b41196859327afd15bdf782613eb Mon Sep 17 00:00:00 2001 From: machenbach Date: Mon, 4 Jan 2016 04:03:39 -0800 Subject: [PATCH] [release] Bump max age of last release. TBR=hablich@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/1553103002 Cr-Commit-Position: refs/heads/master@{#33079} --- tools/release/auto_roll.py | 2 +- tools/release/test_scripts.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/release/auto_roll.py b/tools/release/auto_roll.py index b2fa53a3f8..27fd370971 100755 --- a/tools/release/auto_roll.py +++ b/tools/release/auto_roll.py @@ -186,7 +186,7 @@ class AutoRoll(ScriptsBase): parser.add_argument("--last-roll", help="The git commit ID of the last rolled version. " "Auto-detected if not specified.") - parser.add_argument("--max-age", default=3, type=int, + parser.add_argument("--max-age", default=7, type=int, help="Maximum age in days of the latest release.") parser.add_argument("--revision", help="Revision to roll. Auto-detected if not " diff --git a/tools/release/test_scripts.py b/tools/release/test_scripts.py index 89fdb3c7ac..4a3cb5b24a 100644 --- a/tools/release/test_scripts.py +++ b/tools/release/test_scripts.py @@ -1038,7 +1038,7 @@ deps = { Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""), Cmd("git describe --tags last_roll_hsh", "3.22.4"), Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""), - Cmd("git rev-list --max-age=740800 --tags", + Cmd("git rev-list --max-age=395200 --tags", "bad_tag\nroll_hsh\nhash_123"), Cmd("git describe --tags bad_tag", ""), Cmd("git describe --tags roll_hsh", "3.22.4"), @@ -1074,7 +1074,7 @@ deps = { Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""), Cmd("git describe --tags last_roll_hsh", "3.22.3.1"), Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""), - Cmd("git rev-list --max-age=740800 --tags", + Cmd("git rev-list --max-age=395200 --tags", "bad_tag\nroll_hsh\nhash_123"), Cmd("git describe --tags bad_tag", ""), Cmd("git describe --tags roll_hsh", "3.22.4"),