Set branch to 5.6 if 5.x selected.
Original commit: elastic/x-pack-elasticsearch@2b11fc5469983684263822e116f9878c3e8eab36
@@ -43,6 +43,9 @@ subprojects {
} else {
bwcBranch = "${major}.${minor}"
}
+ if (bwcBranch == '5.x') {
+ bwcBranch = '5.6';
+ }
File esCheckoutDir = file("${buildDir}/bwc/checkout-es-${bwcBranch}")
File xpackCheckoutDir = file("${esCheckoutDir}-extra/x-pack-elasticsearch")
