Build: Set bwc builds to always set snapshot (#26704)
This commit enforces bwc builds always generate snapshot versions, even when testing release versions in CI. closes #26702
This commit is contained in:
parent
bebff47b5b
commit
a1c766c75c
|
@ -134,6 +134,7 @@ if (enabled) {
|
||||||
dependsOn checkoutBwcBranch, writeBuildMetadata
|
dependsOn checkoutBwcBranch, writeBuildMetadata
|
||||||
dir = checkoutDir
|
dir = checkoutDir
|
||||||
tasks = [':distribution:deb:assemble', ':distribution:rpm:assemble', ':distribution:zip:assemble']
|
tasks = [':distribution:deb:assemble', ':distribution:rpm:assemble', ':distribution:zip:assemble']
|
||||||
|
startParameter.systemPropertiesArgs = ['build.snapshot': 'true']
|
||||||
doLast {
|
doLast {
|
||||||
List missing = [bwcDeb, bwcRpm, bwcZip].grep { file ->
|
List missing = [bwcDeb, bwcRpm, bwcZip].grep { file ->
|
||||||
false == file.exists() }
|
false == file.exists() }
|
||||||
|
|
Loading…
Reference in New Issue