damccorm commented on code in PR #39658:
URL: https://github.com/apache/beam/pull/39658#discussion_r3749748319
##########
buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy:
##########
@@ -2643,7 +2643,7 @@ class BeamModulePlugin implements Plugin<Project> {
JavaExamplesArchetypeValidationConfiguration config = it as
JavaExamplesArchetypeValidationConfiguration
def taskName = "run${config.type}Java${config.runner}"
- def releaseVersion = project.findProperty('ver') ?: project.version
+ def releaseVersion = (project.findProperty('ver') &&
project.findProperty('ver') != '2.XX.0') ? project.findProperty('ver') :
project.version
Review Comment:
I think we can just get rid of this entirely - without this it will fail
fast, and the instructions already tell the user to pass in the empty string
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]