diff --git a/pkg/config/config.go b/pkg/config/config.go index 653bd0081..6779f835f 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -1176,7 +1176,7 @@ type Source struct { // Project includes all project configuration. type Project struct { - Version int `yaml:"version,omitempty" json:"version,omitempty" jsonschema:"enum=1,default=1"` + Version int `yaml:"version,omitempty" json:"version,omitempty" jsonschema:"enum=2,default=2"` 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"` diff --git a/www/docs/static/schema.json b/www/docs/static/schema.json index 306bbf404..642dc2200 100644 --- a/www/docs/static/schema.json +++ b/www/docs/static/schema.json @@ -2311,9 +2311,9 @@ "version": { "type": "integer", "enum": [ - 1 + 2 ], - "default": 1 + "default": 2 }, "project_name": { "type": "string"