File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "upstream" : " elastic/elasticsearch" ,
33 "targetBranchChoices" : [
4- " master " ,
4+ " main " ,
55 " 8.3" ,
66 " 8.2" ,
77 " 8.1" ,
1111 ],
1212 "targetPRLabels" : [" backport" ],
1313 "branchLabelMapping" : {
14- "^v8.4.0$" : " master " ,
14+ "^v8.4.0$" : " main " ,
1515 "^v(\\ d+).(\\ d+).\\ d+(?:-(?:alpha|beta|rc)\\ d+)?$" : " $1.$2"
1616 }
1717}
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ tasks.register("verifyVersions") {
122122 throw new GradleException (" No branch choice exists for development branch ${ unreleasedVersion.branch} in .backportrc.json." )
123123 }
124124 }
125- String versionMapping = backportConfig. get(" branchLabelMapping" ). fields(). find { it. value. textValue() == ' master ' }. key
125+ String versionMapping = backportConfig. get(" branchLabelMapping" ). fields(). find { it. value. textValue() == ' main ' }. key
126126 String expectedMapping = " ^v${ versions.elasticsearch.replaceAll('-SNAPSHOT', '')} \$ "
127127 if (versionMapping != expectedMapping) {
128128 throw new GradleException (" Backport label mapping for branch 'master' is '${ versionMapping} ' but should be " +
You can’t perform that action at this time.
0 commit comments