Commit efa6f3a5 authored by machenbach's avatar machenbach Committed by Commit bot

[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}
parent 140f69d7
...@@ -186,7 +186,7 @@ class AutoRoll(ScriptsBase): ...@@ -186,7 +186,7 @@ class AutoRoll(ScriptsBase):
parser.add_argument("--last-roll", parser.add_argument("--last-roll",
help="The git commit ID of the last rolled version. " help="The git commit ID of the last rolled version. "
"Auto-detected if not specified.") "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.") help="Maximum age in days of the latest release.")
parser.add_argument("--revision", parser.add_argument("--revision",
help="Revision to roll. Auto-detected if not " help="Revision to roll. Auto-detected if not "
......
...@@ -1038,7 +1038,7 @@ deps = { ...@@ -1038,7 +1038,7 @@ deps = {
Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""), Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
Cmd("git describe --tags last_roll_hsh", "3.22.4"), Cmd("git describe --tags last_roll_hsh", "3.22.4"),
Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""), 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"), "bad_tag\nroll_hsh\nhash_123"),
Cmd("git describe --tags bad_tag", ""), Cmd("git describe --tags bad_tag", ""),
Cmd("git describe --tags roll_hsh", "3.22.4"), Cmd("git describe --tags roll_hsh", "3.22.4"),
...@@ -1074,7 +1074,7 @@ deps = { ...@@ -1074,7 +1074,7 @@ deps = {
Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""), Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
Cmd("git describe --tags last_roll_hsh", "3.22.3.1"), Cmd("git describe --tags last_roll_hsh", "3.22.3.1"),
Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""), 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"), "bad_tag\nroll_hsh\nhash_123"),
Cmd("git describe --tags bad_tag", ""), Cmd("git describe --tags bad_tag", ""),
Cmd("git describe --tags roll_hsh", "3.22.4"), Cmd("git describe --tags roll_hsh", "3.22.4"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment