Browse Source

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
jaymode 8 years ago
parent
commit
5997e4a39d
1 changed files with 0 additions and 2 deletions
  1. 0 2
      distribution/bwc/build.gradle

+ 0 - 2
distribution/bwc/build.gradle

@@ -55,8 +55,6 @@ if (enabled) {
   String bwcBranch
   if (project.name == 'bwc-stable-snapshot') {
     bwcBranch = "${major}.x"
-  } else if (major != currentMajor) {
-    bwcBranch = "${major}.x"
   } else {
     bwcBranch = "${major}.${minor}"
   }