@@ -116,11 +116,6 @@ JAVA_RELEASE_TARGETS = [
116
116
'//java/client/src/org/openqa/selenium/remote:remote' ,
117
117
'//java/client/src/org/openqa/selenium/safari:safari' ,
118
118
'//java/server/src/com/thoughtworks/selenium:leg-rc' ,
119
-
120
- # Until we mananage to migrate to Buck entirely.
121
- '//java/server/src/org/openqa/grid/selenium:selenium:uber' ,
122
- '//java/server/src/org/openqa/grid/selenium/selenium:zip' ,
123
- '//java/client/src/org/openqa/selenium:client-combined-v3:zip' ,
124
119
]
125
120
126
121
@@ -536,10 +531,19 @@ end
536
531
# cp "build/java/client/src/org/openqa/selenium/client-combined-v3.zip", "build/dist/selenium-java-#{version}.zip"
537
532
#end
538
533
539
- task :release => JAVA_RELEASE_TARGETS do |t |
534
+ task :release => JAVA_RELEASE_TARGETS + [
535
+ # Until we mananage to migrate to Buck entirely.
536
+ '//java/server/src/org/openqa/grid/selenium:selenium:uber' ,
537
+ '//java/server/src/org/openqa/grid/selenium:selenium:zip' ,
538
+ '//java/client/src/org/openqa/selenium:client-combined-v3:zip' ,
539
+ ] do |t |
540
540
puts t . prerequisites . join ( ', ' )
541
541
542
542
t . prerequisites . each do |p |
543
+ # Nasty hack to work around buck publish not knowing how to build crazy fun targets
544
+ if p . to_s . count ( ':' ) > 1
545
+ next
546
+ end
543
547
# Buck::buck_cmd.call('publish', "--dry-run --to-maven-central #{p}")
544
548
Buck ::buck_cmd . call ( 'build' , "#{ p } " )
545
549
end
0 commit comments