pact-foundation / pact_broker

Enables your consumer driven contracts workflow
http://pactflow.io
MIT License
701 stars 171 forks source link

Add CLI command to identify version(s) in an environment #590

Open bethesque opened 1 year ago

github-actions[bot] commented 1 year ago

👋 Thanks, this ticket has been added to the PactFlow team's backlog as PACT-606

dimkin-eu commented 4 months ago

I found this issue as I searched for needed stuff for me so far, the workaround is using tags ( such a relief, we still using them )

/pacticipants/{pacticipant}/latest-version/{tag}
curl -s -u user:pass https://pact.broker.url/pacticipants/somePacticipant/latest-version/live | jq -r '.number[]'

but could be so nice to have this as pact-broker CLI ( and using env, not tag )