File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "upstream" : " elastic/elasticsearch" ,
33 "targetBranchChoices" : [
4- { "name" : " master" , "checked" : true },
54 " 7.16" ,
65 " 7.15" ,
76 " 7.14" ,
87 " 6.8"
98 ],
109 "targetPRLabels" : [" backport" ],
1110 "branchLabelMapping" : {
12- "^v8.0.0$" : " master" ,
1311 "^v(\\ d+).(\\ d+).\\ d+$" : " $1.$2"
1412 }
1513}
Original file line number Diff line number Diff line change @@ -103,8 +103,7 @@ tasks.register("verifyVersions") {
103103
104104 // Make sure backport bot config file is up to date
105105 JsonNode backportConfig = new ObjectMapper (). readTree(file(" .backportrc.json" ))
106- List<BwcVersions.UnreleasedVersionInfo > unreleased = BuildParams . bwcVersions. unreleased. collect { BuildParams . bwcVersions. unreleasedInfo(it) }
107- unreleased. each { unreleasedVersion ->
106+ BuildParams . bwcVersions. forPreviousUnreleased { unreleasedVersion ->
108107 boolean valid = backportConfig. get(" targetBranchChoices" ). elements(). any { branchChoice ->
109108 if (branchChoice. isObject()) {
110109 return branchChoice. get(" name" ). textValue() == unreleasedVersion. branch
You can’t perform that action at this time.
0 commit comments