diff --git a/lib/codereview/codereview.py b/lib/codereview/codereview.py index 78e7e1b30b9..7043abc1eaa 100644 --- a/lib/codereview/codereview.py +++ b/lib/codereview/codereview.py @@ -779,7 +779,7 @@ def Incoming(ui, repo, opts): _, incoming, _ = findcommonincoming(repo, getremote(ui, repo, opts)) return incoming -desc_re = '^(.+: |tag release\.|release\.|fix build)' +desc_re = '^(.+: |(tag )?(release|weekly)\.|fix build)' desc_msg = '''Your CL description appears not to use the standard form. diff --git a/misc/dashboard/builder/main.go b/misc/dashboard/builder/main.go index fc11d365ef3..735717e28d0 100644 --- a/misc/dashboard/builder/main.go +++ b/misc/dashboard/builder/main.go @@ -64,7 +64,7 @@ var ( var ( goroot string - releaseRegexp = regexp.MustCompile(`^release\.[0-9\-.]+`) + releaseRegexp = regexp.MustCompile(`^(release|weekly)\.[0-9\-.]+`) benchRequests vector.Vector )