We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6d830f commit ac9adddCopy full SHA for ac9addd
distribution/bwc/build.gradle
@@ -56,7 +56,7 @@ if (enabled) {
56
def (String major, String minor, String bugfix) = bwcVersion.split('\\.')
57
def (String currentMajor, String currentMinor, String currentBugfix) = version.split('\\.')
58
String bwcBranch
59
- if (project.name == 'bwc-stable-snapshot') {
+ if (project.name == 'bwc-stable-snapshot' && major != currentMajor) {
60
bwcBranch = "${major}.x"
61
} else {
62
bwcBranch = "${major}.${minor}"
0 commit comments