1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-29 01:44:39 +02:00

fix: client key and cert should not be required (#3409)

closes #3407

Signed-off-by: Sheridan C Rawlins <scr@yahooinc.com>
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Sheridan C Rawlins <scr@yahooinc.com>
This commit is contained in:
Carlos Alexandro Becker 2022-09-27 10:12:34 -03:00 committed by GitHub
parent b8d3fa3a39
commit f3849e2bbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 8 deletions

View File

@ -854,8 +854,8 @@ type Upload struct {
Mode string `yaml:"mode,omitempty" json:"mode,omitempty"`
Method string `yaml:"method,omitempty" json:"method,omitempty"`
ChecksumHeader string `yaml:"checksum_header,omitempty" json:"checksum_header,omitempty"`
ClientX509Cert string `yaml:"client_x509_cert" json:"client_x509_cert"`
ClientX509Key string `yaml:"client_x509_key" json:"client_x509_key"`
ClientX509Cert string `yaml:"client_x509_cert,omitempty" json:"client_x509_cert,omitempty"`
ClientX509Key string `yaml:"client_x509_key,omitempty" json:"client_x509_key,omitempty"`
TrustedCerts string `yaml:"trusted_certificates,omitempty" json:"trusted_certificates,omitempty"`
Checksum bool `yaml:"checksum,omitempty" json:"checksum,omitempty"`
Signature bool `yaml:"signature,omitempty" json:"signature,omitempty"`

8
www/docs/static/schema.json generated vendored
View File

@ -2538,11 +2538,7 @@
}
},
"additionalProperties": false,
"type": "object",
"required": [
"client_x509_cert",
"client_x509_key"
]
"type": "object"
},
"Webhook": {
"properties": {
@ -2575,4 +2571,4 @@
}
},
"description": "goreleaser configuration definition file"
}
}