Hi, is there a way to retrieve the version (git co...
# pact-broker
m
Hi, is there a way to retrieve the version (git commit hash) of a provided tag on the provider side? I have tagged “deployed-prod” on my provider for a specific old commit on Pact Broker and now I want to retrieve that commit hash so that I can build the provider from that commit hash to perform contract verification.
m
Is there a reason you’re not using branches and environments?
m
Because we are using older version of pact and I believe it only supports tag. But it there a way to retrieve the version (git commit hash) of a provided tag on the provider side?
m
What are you trying to actually achieve?
m
I have tagged “deployed-prod” on my provider for a specific old commit on Pact Broker and now I want to retrieve that commit hash so that I can build the provider from that commit hash to perform contract verification.
Just found that I can retrieve that info from pact-broker: /pacticipants/{some-provier}/latest-version/deployed-prod