mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 02:14:54 +00:00
Remove incorrect bwc branch logic from master
Commit bf007e8d936d82ed2d28c70da1a7366cfa862342 was a forward port of logic needed in 5.x to get the correct bwc branch. However, other changes on master meant that this forward port was not needed and actually broke the bwc tests. This change removes the incorrect if statement. Relates #25134
This commit is contained in:
parent
64888f6f01
commit
5997e4a39d
@ -55,8 +55,6 @@ if (enabled) {
|
|||||||
String bwcBranch
|
String bwcBranch
|
||||||
if (project.name == 'bwc-stable-snapshot') {
|
if (project.name == 'bwc-stable-snapshot') {
|
||||||
bwcBranch = "${major}.x"
|
bwcBranch = "${major}.x"
|
||||||
} else if (major != currentMajor) {
|
|
||||||
bwcBranch = "${major}.x"
|
|
||||||
} else {
|
} else {
|
||||||
bwcBranch = "${major}.${minor}"
|
bwcBranch = "${major}.${minor}"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user