Created by: linzhp
This PR adds support to buck publish
command to publish zip archive to Maven repositories.
why do we need this
We need to 1) publish home brew bottles; 2) upload third-party Go packages to Artifactory so we can build a project even when the original repository of a third-party package is deleted. Both need to publish zip archive.
why existing publish functionality doesn't work
Existing buck publish
command require the target has maven
flavor, which zip_file targets doesn't support. In fact zip_file doesn't need to build differently to be published to Maven
brief overview changes in the code.
- Add
maven_coords
parameter tozip_file
- Stop adding flavors to
zip_file
targets