File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -484,11 +484,9 @@ val buildBrewZip by tasks.registering(Zip::class) {
484
484
}
485
485
}
486
486
487
- val buildBrewFormula by tasks.registering(Copy ::class ) {
488
- dependsOn(buildBrewZip)
489
-
487
+ val buildBrewFormula by tasks.registering(Sync ::class ) {
490
488
from(" packages/homebrew/mqtt-cli.rb" )
491
- into(layout.buildDirectory.dir(" packages/homebrew" ))
489
+ into(layout.buildDirectory.dir(" packages/homebrew/formula " ))
492
490
filter {
493
491
it.replace(" @@description@@" , project.description!! )
494
492
.replace(" @@version@@" , project.version.toString())
@@ -609,7 +607,7 @@ gitPublish {
609
607
repoUri.set(" https://github.com/hivemq/homebrew-mqtt-cli.git" )
610
608
branch.set(" master" )
611
609
commitMessage.set(" Release version v${project.version} " )
612
- contents.from(buildBrewFormula) { include( " mqtt-cli.rb " ) }
610
+ contents.from(buildBrewFormula)
613
611
}
614
612
615
613
/* ******************** docker ******************** */
You can’t perform that action at this time.
0 commit comments