Sravan
08/30/2022, 5:04 PM{
"pacticipantName": "Foo",
"pacticipantVersionNumber": "dc5eb529230038a4673b8c971395bd2922d8b240",
"branch": "main",
"tags": [
"main"
],
"buildUrl": "<https://ci/builds/1234>",
"contracts": [
{
"consumerName": "Foo",
"providerName": "Bar",
"specification": "pact",
"contentType": "application/json",
"content": "<base64 encoded JSON pact>"
}
]
}
Response:
{
"notices": [
{
"type": "error",
"text": "Cannot change the content of the pact for ppe-service-ent-issue-compilation version 1.0.0 and provider ppe-service-ent-issue-compilation, as race conditions will cause unreliable results for can-i-deploy. Each pact must be published with a unique consumer version number. For more information see <https://docs.pact.io/go/versioning>"
},
{
"type": "info",
"text": ""
}
],
"errors": {
"contracts": [
"Cannot change the content of the pact for ppe-service-ent-issue-compilation version 1.0.0 and provider ppe-service-ent-issue-compilation, as race conditions will cause unreliable results for can-i-deploy. Each pact must be published with a unique consumer version number. For more information see <https://docs.pact.io/go/versioning>"
]
}
}
I dont see any difference in the content that is causing this issueMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Sravan
08/31/2022, 6:56 AMMatt (pactflow.io / pact-js / pact-go)
Sravan
08/31/2022, 8:00 AMSravan
08/31/2022, 8:00 AMSravan
08/31/2022, 8:01 AMSravan
08/31/2022, 8:01 AMSravan
08/31/2022, 10:09 AMSravan
08/31/2022, 10:34 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Sravan
08/31/2022, 2:21 PMSravan
08/31/2022, 2:22 PMMatt (pactflow.io / pact-js / pact-go)