From 569295d43f6b91d01a8464e98574c6910cd694db Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Mon, 15 Jul 2024 20:50:23 -0300 Subject: [PATCH] fix(jsonschema): missing ipk in nfpm.formats closes #4997 --- pkg/config/config.go | 2 +- www/docs/static/schema.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/config/config.go b/pkg/config/config.go index 3ab519284..22ba1be6c 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -763,7 +763,7 @@ type NFPM struct { ID string `yaml:"id,omitempty" json:"id,omitempty"` Builds []string `yaml:"builds,omitempty" json:"builds,omitempty"` - Formats []string `yaml:"formats,omitempty" json:"formats,omitempty" jsonschema:"enum=apk,enum=deb,enum=rpm,enum=termux.deb,enum=archlinux"` + Formats []string `yaml:"formats,omitempty" json:"formats,omitempty" jsonschema:"enum=apk,enum=deb,enum=rpm,enum=termux.deb,enum=archlinux,enum=ipk"` Section string `yaml:"section,omitempty" json:"section,omitempty"` Priority string `yaml:"priority,omitempty" json:"priority,omitempty"` Vendor string `yaml:"vendor,omitempty" json:"vendor,omitempty"` diff --git a/www/docs/static/schema.json b/www/docs/static/schema.json index 9370f9b82..7e8b9758f 100644 --- a/www/docs/static/schema.json +++ b/www/docs/static/schema.json @@ -1815,7 +1815,8 @@ "deb", "rpm", "termux.deb", - "archlinux" + "archlinux", + "ipk" ] }, "type": "array"