Hi guys, Where can I find more information about `...
# pact-broker
r
Hi guys, Where can I find more information about
create-or-update-version
? I've read this README but I'm not sure what are the implications of using it. Does this override the version of the contract that has been recorded? Is this something I should avoid using?
✅ 1
m
I think it would just overwrite the branch, or set a tag with a given version. What are you trying to do? I can’t update the contract, as you don’t supply one for a version
By default, the broker will prevent you clobbering an existing contract (you would need to update a configuration to allow it)
t
As I understand it, you don’t need this command unless you are doing something very custom
m
The only use case we would usually recommend it is this one: https://docs.pact.io/pact_nirvana/notes_1
🤔 1
r
Yup, that is the use case. Global CICD pipeline and to avoid failures when there are no pacts to verify. Thanks for the response.
👍 1