mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-16 03:52:12 +02:00
fix(jsonschema): version is not required on v1.x
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
parent
780fcc7163
commit
45839c13c3
@ -1149,7 +1149,7 @@ type Source struct {
|
||||
|
||||
// Project includes all project configuration.
|
||||
type Project struct {
|
||||
Version int `yaml:"version" json:"version" jsonschema:"enum=1,default=1"`
|
||||
Version int `yaml:"version,omitempty" json:"version,omitempty" jsonschema:"enum=1,default=1"`
|
||||
ProjectName string `yaml:"project_name,omitempty" json:"project_name,omitempty"`
|
||||
Env []string `yaml:"env,omitempty" json:"env,omitempty"`
|
||||
Release Release `yaml:"release,omitempty" json:"release,omitempty"`
|
||||
|
Loading…
Reference in New Issue
Block a user