File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -204,11 +204,11 @@ tasks.register("verifyVersions") {
204204 throw new GradleException (" No branch choice exists for development branch ${ unreleasedVersion.branch} in .backportrc.json." )
205205 }
206206 }
207- String versionMapping = backportConfig. get(" branchLabelMapping" ). fields(). find { it. value. textValue() == ' main ' }. key
207+ String versionMapping = backportConfig. get(" branchLabelMapping" ). fields(). find { it. value. textValue() == ' 8.x ' }. key
208208 String expectedMapping = " ^v${ versions.elasticsearch.replaceAll('-SNAPSHOT', '')} \$ "
209209 if (versionMapping != expectedMapping) {
210210 throw new GradleException (
211- " Backport label mapping for branch 'main ' is '${ versionMapping} ' but should be " +
211+ " Backport label mapping for branch '8.x ' is '${ versionMapping} ' but should be " +
212212 " '${ expectedMapping} '. Update .backportrc.json."
213213 )
214214 }
You can’t perform that action at this time.
0 commit comments