Skip to content

Commit 99a0879

Browse files
committed
Remove snapshot conditional for bwc snapshots (#28657)
The build.snapshot flag used by the main build was being propagated down into the bwc snapshot builds, which is not correct. The bwc subprojects are always meant to be snapshot builds, or null if they do not exist. Marking these builds as non snapshots threw the release off as it was looking for -SNAPSHOT builds. Relates #28641
1 parent 90ac017 commit 99a0879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distribution/bwc/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ subprojects {
139139
} else {
140140
executable new File(checkoutDir, 'gradlew').toString()
141141
}
142-
args ":distribution:deb:assemble", ":distribution:rpm:assemble", ":distribution:zip:assemble", "-Dbuild.snapshot=${System.getProperty('build.snapshot') ?: 'true'}"
142+
args ":distribution:deb:assemble", ":distribution:rpm:assemble", ":distribution:zip:assemble", "-Dbuild.snapshot=true"
143143
final LogLevel logLevel = gradle.startParameter.logLevel
144144
if ([LogLevel.QUIET, LogLevel.WARN, LogLevel.INFO, LogLevel.DEBUG].contains(logLevel)) {
145145
args "--${logLevel.name().toLowerCase(Locale.ENGLISH)}"

0 commit comments

Comments
 (0)