I am getting an error but the exit code is 0 which mean the build passes incorrectly. I was using an invalid character in the contentType name which I fixed it but I think when any error occurs it should fail the build i.e. exit 1
Migration unsuccessful:
Batch failed
Error: {"status":"Unprocessable Entity","message":"Validation error","details":{"errors":[{"name":"regexp","details":"Does not match /^[a-zA-Z][a-zA-Z0-9_]*$/","value":"inline-link-group","pattern":"^[a-zA-Z][a-zA-Z0-9_]*$","path":["fields",3,"id"]}]},"url":"https://api.contentful.com:443/spaces/qwerty/environments/dev/content_types/topic"}
Error: {"status":"Conflict","message":"","details":{},"url":"https://api.contentful.com:443/spaces/qwerty/environments/dev/content_types/topic/published"}
Please check the errors log for more details: /app/errors-1534393589930.log
error : Error: Batch failed
๐จ Error applying migrations in dev! See above for error message