https://pantsbuild.org/ logo
#general
Title
# general
b

brief-engineer-67497

10/26/2018, 7:57 AM
Hey, about publishing I have two Repository: regular & testing. In the BUILD files the provided artifacts are configured to publish on regular. How do I do I want to publish on testing ? do I need to edit the build files ? (the only cli option related to this question I see is
--publish-jar-local
but testing is not local)
e

enough-analyst-54434

10/26/2018, 2:07 PM
Yes, you'd need to edit the BUILD files. Probably better is to create two targets in the BUILD file with different target names and different artifact names. That said, alot depends on the details of how and who uses each the repos and what relationship the artifacts in each are expected to have with each other.
b

brief-engineer-67497

10/26/2018, 2:51 PM
actually testing is repo meant to test the publishing process, so the idea was to publish everything that is normally published in regular in testing instead
I figured the easy way was to edit the publish plugin
5 Views