buck publish
A command that builds one or more build targets and publishes them. This does not support build target patterns.
Parameters
--dry-run
Just print the artifact(s) that would be published for the specified build target(s).
--include-source
(-s)
Publish the source code in addition to the artifact(s) for the specified build target(s).
--remote-repo
(-r)
A url of the remote repository to publish artifact(s) for the specified build target(s).
--username
(-u)
The username to use when authenticating with the remote repository.
--password
(-p)
The password to use when authenticating with the remote repository.
--to-maven-central
Equivalent to passing
--remote-repo https://repo1.maven.org/maven2
.
All parameters that can be passed to buck build
can be passed to this command to control how the build targets are built. The following parameters are also supported: