Rubén Pérez
06/07/2022, 2:21 PMconsumerVersionSelectors
from the PactBroker
annotation on my provider application, and I have a doubt.
Looking into the VersionSelector code, it only allows you to select tags, not branches or environments. I think what I would need is to get the latest from the main branch (master
) and the latest from production. My question is, even if I'm using branches
and environments
, should I also add tags from my consumer for both branches and environments?Ben Pilgrim
06/07/2022, 4:05 PMpactbroker.consumerversionselectors.rawjson
system property, but not the annotationBen Pilgrim
06/07/2022, 4:05 PM<pactbroker.consumerversionselectors.rawjson>[{ "mainBranch": true },{ "deployedOrReleased": true }]</pactbroker.consumerversionselectors.rawjson>
Rubén Pérez
06/08/2022, 6:37 AMRubén Pérez
06/08/2022, 6:41 AM