mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +02:00
3251 lines
54 KiB
JSON
Generated
3251 lines
54 KiB
JSON
Generated
{
|
|
"$schema": "http://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://github.com/goreleaser/goreleaser/pkg/config/project",
|
|
"$ref": "#/$defs/Project",
|
|
"$defs": {
|
|
"AUR": {
|
|
"properties": {
|
|
"Name": {
|
|
"type": "string"
|
|
},
|
|
"IDs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"CommitAuthor": {
|
|
"$ref": "#/$defs/CommitAuthor"
|
|
},
|
|
"CommitMessageTemplate": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
},
|
|
"Homepage": {
|
|
"type": "string"
|
|
},
|
|
"License": {
|
|
"type": "string"
|
|
},
|
|
"SkipUpload": {
|
|
"type": "string"
|
|
},
|
|
"URLTemplate": {
|
|
"type": "string"
|
|
},
|
|
"Maintainers": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Contributors": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Provides": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Conflicts": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Depends": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"OptDepends": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Rel": {
|
|
"type": "string"
|
|
},
|
|
"Package": {
|
|
"type": "string"
|
|
},
|
|
"GitURL": {
|
|
"type": "string"
|
|
},
|
|
"GitSSHCommand": {
|
|
"type": "string"
|
|
},
|
|
"PrivateKey": {
|
|
"type": "string"
|
|
},
|
|
"Goamd64": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Name",
|
|
"IDs",
|
|
"CommitAuthor",
|
|
"CommitMessageTemplate",
|
|
"Description",
|
|
"Homepage",
|
|
"License",
|
|
"SkipUpload",
|
|
"URLTemplate",
|
|
"Maintainers",
|
|
"Contributors",
|
|
"Provides",
|
|
"Conflicts",
|
|
"Depends",
|
|
"OptDepends",
|
|
"Rel",
|
|
"Package",
|
|
"GitURL",
|
|
"GitSSHCommand",
|
|
"PrivateKey",
|
|
"Goamd64"
|
|
]
|
|
},
|
|
"Announce": {
|
|
"properties": {
|
|
"Skip": {
|
|
"type": "string"
|
|
},
|
|
"Twitter": {
|
|
"$ref": "#/$defs/Twitter"
|
|
},
|
|
"Reddit": {
|
|
"$ref": "#/$defs/Reddit"
|
|
},
|
|
"Slack": {
|
|
"$ref": "#/$defs/Slack"
|
|
},
|
|
"Discord": {
|
|
"$ref": "#/$defs/Discord"
|
|
},
|
|
"Teams": {
|
|
"$ref": "#/$defs/Teams"
|
|
},
|
|
"SMTP": {
|
|
"$ref": "#/$defs/SMTP"
|
|
},
|
|
"Mattermost": {
|
|
"$ref": "#/$defs/Mattermost"
|
|
},
|
|
"LinkedIn": {
|
|
"$ref": "#/$defs/LinkedIn"
|
|
},
|
|
"Telegram": {
|
|
"$ref": "#/$defs/Telegram"
|
|
},
|
|
"Webhook": {
|
|
"$ref": "#/$defs/Webhook"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Skip",
|
|
"Twitter",
|
|
"Reddit",
|
|
"Slack",
|
|
"Discord",
|
|
"Teams",
|
|
"SMTP",
|
|
"Mattermost",
|
|
"LinkedIn",
|
|
"Telegram",
|
|
"Webhook"
|
|
]
|
|
},
|
|
"Archive": {
|
|
"properties": {
|
|
"ID": {
|
|
"type": "string"
|
|
},
|
|
"Builds": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"NameTemplate": {
|
|
"type": "string"
|
|
},
|
|
"Replacements": {
|
|
"patternProperties": {
|
|
".*": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Format": {
|
|
"type": "string"
|
|
},
|
|
"FormatOverrides": {
|
|
"items": {
|
|
"$ref": "#/$defs/FormatOverride"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"WrapInDirectory": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "boolean"
|
|
}
|
|
]
|
|
},
|
|
"Files": {
|
|
"items": {
|
|
"$ref": "#/$defs/File"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Meta": {
|
|
"type": "boolean"
|
|
},
|
|
"AllowDifferentBinaryCount": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"ID",
|
|
"Builds",
|
|
"NameTemplate",
|
|
"Replacements",
|
|
"Format",
|
|
"FormatOverrides",
|
|
"WrapInDirectory",
|
|
"Files",
|
|
"Meta",
|
|
"AllowDifferentBinaryCount"
|
|
]
|
|
},
|
|
"Before": {
|
|
"properties": {
|
|
"Hooks": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Hooks"
|
|
]
|
|
},
|
|
"Blob": {
|
|
"properties": {
|
|
"Bucket": {
|
|
"type": "string"
|
|
},
|
|
"Provider": {
|
|
"type": "string"
|
|
},
|
|
"Region": {
|
|
"type": "string"
|
|
},
|
|
"DisableSSL": {
|
|
"type": "boolean"
|
|
},
|
|
"Folder": {
|
|
"type": "string"
|
|
},
|
|
"KMSKey": {
|
|
"type": "string"
|
|
},
|
|
"IDs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Endpoint": {
|
|
"type": "string"
|
|
},
|
|
"ExtraFiles": {
|
|
"items": {
|
|
"$ref": "#/$defs/ExtraFile"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Bucket",
|
|
"Provider",
|
|
"Region",
|
|
"DisableSSL",
|
|
"Folder",
|
|
"KMSKey",
|
|
"IDs",
|
|
"Endpoint",
|
|
"ExtraFiles"
|
|
]
|
|
},
|
|
"Build": {
|
|
"properties": {
|
|
"ID": {
|
|
"type": "string"
|
|
},
|
|
"Goos": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Goarch": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Goarm": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Gomips": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Goamd64": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Targets": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Ignore": {
|
|
"items": {
|
|
"$ref": "#/$defs/IgnoredBuild"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Dir": {
|
|
"type": "string"
|
|
},
|
|
"Main": {
|
|
"type": "string"
|
|
},
|
|
"Binary": {
|
|
"type": "string"
|
|
},
|
|
"Hooks": {
|
|
"$ref": "#/$defs/BuildHookConfig"
|
|
},
|
|
"Builder": {
|
|
"type": "string"
|
|
},
|
|
"ModTimestamp": {
|
|
"type": "string"
|
|
},
|
|
"Skip": {
|
|
"type": "boolean"
|
|
},
|
|
"GoBinary": {
|
|
"type": "string"
|
|
},
|
|
"Command": {
|
|
"type": "string"
|
|
},
|
|
"NoUniqueDistDir": {
|
|
"type": "boolean"
|
|
},
|
|
"NoMainCheck": {
|
|
"type": "boolean"
|
|
},
|
|
"UnproxiedMain": {
|
|
"type": "string"
|
|
},
|
|
"UnproxiedDir": {
|
|
"type": "string"
|
|
},
|
|
"Ldflags": {
|
|
"$ref": "#/$defs/StringArray"
|
|
},
|
|
"Tags": {
|
|
"$ref": "#/$defs/FlagArray"
|
|
},
|
|
"Flags": {
|
|
"$ref": "#/$defs/FlagArray"
|
|
},
|
|
"Asmflags": {
|
|
"$ref": "#/$defs/StringArray"
|
|
},
|
|
"Gcflags": {
|
|
"$ref": "#/$defs/StringArray"
|
|
},
|
|
"Env": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"BuildDetailsOverrides": {
|
|
"items": {
|
|
"$ref": "#/$defs/BuildDetailsOverride"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"ID",
|
|
"Goos",
|
|
"Goarch",
|
|
"Goarm",
|
|
"Gomips",
|
|
"Goamd64",
|
|
"Targets",
|
|
"Ignore",
|
|
"Dir",
|
|
"Main",
|
|
"Binary",
|
|
"Hooks",
|
|
"Builder",
|
|
"ModTimestamp",
|
|
"Skip",
|
|
"GoBinary",
|
|
"Command",
|
|
"NoUniqueDistDir",
|
|
"NoMainCheck",
|
|
"UnproxiedMain",
|
|
"UnproxiedDir",
|
|
"Ldflags",
|
|
"Tags",
|
|
"Flags",
|
|
"Asmflags",
|
|
"Gcflags",
|
|
"Env",
|
|
"BuildDetailsOverrides"
|
|
]
|
|
},
|
|
"BuildDetailsOverride": {
|
|
"properties": {
|
|
"Goos": {
|
|
"type": "string"
|
|
},
|
|
"Goarch": {
|
|
"type": "string"
|
|
},
|
|
"Goarm": {
|
|
"type": "string"
|
|
},
|
|
"Gomips": {
|
|
"type": "string"
|
|
},
|
|
"Goamd64": {
|
|
"type": "string"
|
|
},
|
|
"Ldflags": {
|
|
"$ref": "#/$defs/StringArray"
|
|
},
|
|
"Tags": {
|
|
"$ref": "#/$defs/FlagArray"
|
|
},
|
|
"Flags": {
|
|
"$ref": "#/$defs/FlagArray"
|
|
},
|
|
"Asmflags": {
|
|
"$ref": "#/$defs/StringArray"
|
|
},
|
|
"Gcflags": {
|
|
"$ref": "#/$defs/StringArray"
|
|
},
|
|
"Env": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Goos",
|
|
"Goarch",
|
|
"Goarm",
|
|
"Gomips",
|
|
"Goamd64",
|
|
"Ldflags",
|
|
"Tags",
|
|
"Flags",
|
|
"Asmflags",
|
|
"Gcflags",
|
|
"Env"
|
|
]
|
|
},
|
|
"BuildHookConfig": {
|
|
"properties": {
|
|
"Pre": {
|
|
"$ref": "#/$defs/Hooks"
|
|
},
|
|
"Post": {
|
|
"$ref": "#/$defs/Hooks"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Pre",
|
|
"Post"
|
|
]
|
|
},
|
|
"ChangeLogGroup": {
|
|
"properties": {
|
|
"Title": {
|
|
"type": "string"
|
|
},
|
|
"Regexp": {
|
|
"type": "string"
|
|
},
|
|
"Order": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Title",
|
|
"Regexp",
|
|
"Order"
|
|
]
|
|
},
|
|
"Changelog": {
|
|
"properties": {
|
|
"Filters": {
|
|
"$ref": "#/$defs/Filters"
|
|
},
|
|
"Sort": {
|
|
"type": "string"
|
|
},
|
|
"Skip": {
|
|
"type": "boolean"
|
|
},
|
|
"Use": {
|
|
"type": "string",
|
|
"enum": [
|
|
"git",
|
|
"github",
|
|
"github-native",
|
|
"gitlab"
|
|
],
|
|
"default": "git"
|
|
},
|
|
"Groups": {
|
|
"items": {
|
|
"$ref": "#/$defs/ChangeLogGroup"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Filters",
|
|
"Sort",
|
|
"Skip",
|
|
"Use",
|
|
"Groups"
|
|
]
|
|
},
|
|
"Checksum": {
|
|
"properties": {
|
|
"NameTemplate": {
|
|
"type": "string"
|
|
},
|
|
"Algorithm": {
|
|
"type": "string"
|
|
},
|
|
"IDs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Disable": {
|
|
"type": "boolean"
|
|
},
|
|
"ExtraFiles": {
|
|
"items": {
|
|
"$ref": "#/$defs/ExtraFile"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"NameTemplate",
|
|
"Algorithm",
|
|
"IDs",
|
|
"Disable",
|
|
"ExtraFiles"
|
|
]
|
|
},
|
|
"CommitAuthor": {
|
|
"properties": {
|
|
"Name": {
|
|
"type": "string"
|
|
},
|
|
"Email": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Name",
|
|
"Email"
|
|
]
|
|
},
|
|
"Content": {
|
|
"properties": {
|
|
"Source": {
|
|
"type": "string"
|
|
},
|
|
"Destination": {
|
|
"type": "string"
|
|
},
|
|
"Type": {
|
|
"type": "string"
|
|
},
|
|
"Packager": {
|
|
"type": "string"
|
|
},
|
|
"FileInfo": {
|
|
"$ref": "#/$defs/ContentFileInfo"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Source",
|
|
"Destination",
|
|
"Type",
|
|
"Packager",
|
|
"FileInfo"
|
|
]
|
|
},
|
|
"ContentFileInfo": {
|
|
"properties": {
|
|
"Owner": {
|
|
"type": "string"
|
|
},
|
|
"Group": {
|
|
"type": "string"
|
|
},
|
|
"Mode": {
|
|
"type": "integer"
|
|
},
|
|
"MTime": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"Size": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Owner",
|
|
"Group",
|
|
"Mode",
|
|
"MTime",
|
|
"Size"
|
|
]
|
|
},
|
|
"Contents": {
|
|
"items": {
|
|
"$ref": "#/$defs/Content"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Discord": {
|
|
"properties": {
|
|
"Enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"MessageTemplate": {
|
|
"type": "string"
|
|
},
|
|
"Author": {
|
|
"type": "string"
|
|
},
|
|
"Color": {
|
|
"type": "string"
|
|
},
|
|
"IconURL": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Enabled",
|
|
"MessageTemplate",
|
|
"Author",
|
|
"Color",
|
|
"IconURL"
|
|
]
|
|
},
|
|
"Docker": {
|
|
"properties": {
|
|
"ID": {
|
|
"type": "string"
|
|
},
|
|
"IDs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Goos": {
|
|
"type": "string"
|
|
},
|
|
"Goarch": {
|
|
"type": "string"
|
|
},
|
|
"Goarm": {
|
|
"type": "string"
|
|
},
|
|
"Goamd64": {
|
|
"type": "string"
|
|
},
|
|
"Dockerfile": {
|
|
"type": "string"
|
|
},
|
|
"ImageTemplates": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"SkipPush": {
|
|
"type": "string"
|
|
},
|
|
"Files": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"BuildFlagTemplates": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"PushFlags": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Use": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"ID",
|
|
"IDs",
|
|
"Goos",
|
|
"Goarch",
|
|
"Goarm",
|
|
"Goamd64",
|
|
"Dockerfile",
|
|
"ImageTemplates",
|
|
"SkipPush",
|
|
"Files",
|
|
"BuildFlagTemplates",
|
|
"PushFlags",
|
|
"Use"
|
|
]
|
|
},
|
|
"DockerManifest": {
|
|
"properties": {
|
|
"ID": {
|
|
"type": "string"
|
|
},
|
|
"NameTemplate": {
|
|
"type": "string"
|
|
},
|
|
"SkipPush": {
|
|
"type": "string"
|
|
},
|
|
"ImageTemplates": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"CreateFlags": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"PushFlags": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Use": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"ID",
|
|
"NameTemplate",
|
|
"SkipPush",
|
|
"ImageTemplates",
|
|
"CreateFlags",
|
|
"PushFlags",
|
|
"Use"
|
|
]
|
|
},
|
|
"EnvFiles": {
|
|
"properties": {
|
|
"GitHubToken": {
|
|
"type": "string"
|
|
},
|
|
"GitLabToken": {
|
|
"type": "string"
|
|
},
|
|
"GiteaToken": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"GitHubToken",
|
|
"GitLabToken",
|
|
"GiteaToken"
|
|
]
|
|
},
|
|
"ExtraFile": {
|
|
"properties": {
|
|
"Glob": {
|
|
"type": "string"
|
|
},
|
|
"NameTemplate": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Glob",
|
|
"NameTemplate"
|
|
]
|
|
},
|
|
"File": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$schema": "http://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://github.com/goreleaser/goreleaser/pkg/config/t",
|
|
"$defs": {
|
|
"FileInfo": {
|
|
"properties": {
|
|
"Owner": {
|
|
"type": "string"
|
|
},
|
|
"Group": {
|
|
"type": "string"
|
|
},
|
|
"Mode": {
|
|
"type": "integer"
|
|
},
|
|
"MTime": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Owner",
|
|
"Group",
|
|
"Mode",
|
|
"MTime"
|
|
]
|
|
}
|
|
},
|
|
"properties": {
|
|
"Source": {
|
|
"type": "string"
|
|
},
|
|
"Destination": {
|
|
"type": "string"
|
|
},
|
|
"StripParent": {
|
|
"type": "boolean"
|
|
},
|
|
"Info": {
|
|
"$ref": "#/$defs/FileInfo"
|
|
},
|
|
"info": "object"
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Source",
|
|
"Destination",
|
|
"StripParent",
|
|
"Info"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Filters": {
|
|
"properties": {
|
|
"Exclude": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Exclude"
|
|
]
|
|
},
|
|
"FlagArray": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
]
|
|
},
|
|
"FormatOverride": {
|
|
"properties": {
|
|
"Goos": {
|
|
"type": "string"
|
|
},
|
|
"Format": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Goos",
|
|
"Format"
|
|
]
|
|
},
|
|
"GitHubURLs": {
|
|
"properties": {
|
|
"API": {
|
|
"type": "string"
|
|
},
|
|
"Upload": {
|
|
"type": "string"
|
|
},
|
|
"Download": {
|
|
"type": "string"
|
|
},
|
|
"SkipTLSVerify": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"API",
|
|
"Upload",
|
|
"Download",
|
|
"SkipTLSVerify"
|
|
]
|
|
},
|
|
"GitLabURLs": {
|
|
"properties": {
|
|
"API": {
|
|
"type": "string"
|
|
},
|
|
"Download": {
|
|
"type": "string"
|
|
},
|
|
"SkipTLSVerify": {
|
|
"type": "boolean"
|
|
},
|
|
"UsePackageRegistry": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"API",
|
|
"Download",
|
|
"SkipTLSVerify",
|
|
"UsePackageRegistry"
|
|
]
|
|
},
|
|
"GiteaURLs": {
|
|
"properties": {
|
|
"API": {
|
|
"type": "string"
|
|
},
|
|
"Download": {
|
|
"type": "string"
|
|
},
|
|
"SkipTLSVerify": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"API",
|
|
"Download",
|
|
"SkipTLSVerify"
|
|
]
|
|
},
|
|
"GoFish": {
|
|
"properties": {
|
|
"Name": {
|
|
"type": "string"
|
|
},
|
|
"Rig": {
|
|
"$ref": "#/$defs/RepoRef"
|
|
},
|
|
"CommitAuthor": {
|
|
"$ref": "#/$defs/CommitAuthor"
|
|
},
|
|
"CommitMessageTemplate": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
},
|
|
"Homepage": {
|
|
"type": "string"
|
|
},
|
|
"License": {
|
|
"type": "string"
|
|
},
|
|
"SkipUpload": {
|
|
"type": "string"
|
|
},
|
|
"URLTemplate": {
|
|
"type": "string"
|
|
},
|
|
"IDs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Goarm": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Name",
|
|
"Rig",
|
|
"CommitAuthor",
|
|
"CommitMessageTemplate",
|
|
"Description",
|
|
"Homepage",
|
|
"License",
|
|
"SkipUpload",
|
|
"URLTemplate",
|
|
"IDs",
|
|
"Goarm"
|
|
]
|
|
},
|
|
"GoMod": {
|
|
"properties": {
|
|
"Proxy": {
|
|
"type": "boolean"
|
|
},
|
|
"Env": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"GoBinary": {
|
|
"type": "string"
|
|
},
|
|
"Mod": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Proxy",
|
|
"Env",
|
|
"GoBinary",
|
|
"Mod"
|
|
]
|
|
},
|
|
"Homebrew": {
|
|
"properties": {
|
|
"Name": {
|
|
"type": "string"
|
|
},
|
|
"Tap": {
|
|
"$ref": "#/$defs/RepoRef"
|
|
},
|
|
"CommitAuthor": {
|
|
"$ref": "#/$defs/CommitAuthor"
|
|
},
|
|
"CommitMessageTemplate": {
|
|
"type": "string"
|
|
},
|
|
"Folder": {
|
|
"type": "string"
|
|
},
|
|
"Caveats": {
|
|
"type": "string"
|
|
},
|
|
"Plist": {
|
|
"type": "string"
|
|
},
|
|
"Install": {
|
|
"type": "string"
|
|
},
|
|
"PostInstall": {
|
|
"type": "string"
|
|
},
|
|
"Dependencies": {
|
|
"items": {
|
|
"$ref": "#/$defs/HomebrewDependency"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Test": {
|
|
"type": "string"
|
|
},
|
|
"Conflicts": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
},
|
|
"Homepage": {
|
|
"type": "string"
|
|
},
|
|
"License": {
|
|
"type": "string"
|
|
},
|
|
"SkipUpload": {
|
|
"type": "string"
|
|
},
|
|
"DownloadStrategy": {
|
|
"type": "string"
|
|
},
|
|
"URLTemplate": {
|
|
"type": "string"
|
|
},
|
|
"CustomRequire": {
|
|
"type": "string"
|
|
},
|
|
"CustomBlock": {
|
|
"type": "string"
|
|
},
|
|
"IDs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Goarm": {
|
|
"type": "string"
|
|
},
|
|
"Goamd64": {
|
|
"type": "string"
|
|
},
|
|
"Service": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Name",
|
|
"Tap",
|
|
"CommitAuthor",
|
|
"CommitMessageTemplate",
|
|
"Folder",
|
|
"Caveats",
|
|
"Plist",
|
|
"Install",
|
|
"PostInstall",
|
|
"Dependencies",
|
|
"Test",
|
|
"Conflicts",
|
|
"Description",
|
|
"Homepage",
|
|
"License",
|
|
"SkipUpload",
|
|
"DownloadStrategy",
|
|
"URLTemplate",
|
|
"CustomRequire",
|
|
"CustomBlock",
|
|
"IDs",
|
|
"Goarm",
|
|
"Goamd64",
|
|
"Service"
|
|
]
|
|
},
|
|
"HomebrewDependency": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$schema": "http://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://github.com/goreleaser/goreleaser/pkg/config/homebrew-dependency",
|
|
"properties": {
|
|
"Name": {
|
|
"type": "string"
|
|
},
|
|
"Type": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Name",
|
|
"Type"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Hook": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$schema": "http://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://github.com/goreleaser/goreleaser/pkg/config/t",
|
|
"properties": {
|
|
"Dir": {
|
|
"type": "string"
|
|
},
|
|
"Cmd": {
|
|
"type": "string"
|
|
},
|
|
"Env": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Output": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Dir",
|
|
"Cmd",
|
|
"Env",
|
|
"Output"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Hooks": {
|
|
"items": {
|
|
"$ref": "#/$defs/Hook"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"IgnoredBuild": {
|
|
"properties": {
|
|
"Goos": {
|
|
"type": "string"
|
|
},
|
|
"Goarch": {
|
|
"type": "string"
|
|
},
|
|
"Goarm": {
|
|
"type": "string"
|
|
},
|
|
"Gomips": {
|
|
"type": "string"
|
|
},
|
|
"Goamd64": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Goos",
|
|
"Goarch",
|
|
"Goarm",
|
|
"Gomips",
|
|
"Goamd64"
|
|
]
|
|
},
|
|
"Krew": {
|
|
"properties": {
|
|
"IDs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Name": {
|
|
"type": "string"
|
|
},
|
|
"Index": {
|
|
"$ref": "#/$defs/RepoRef"
|
|
},
|
|
"CommitAuthor": {
|
|
"$ref": "#/$defs/CommitAuthor"
|
|
},
|
|
"CommitMessageTemplate": {
|
|
"type": "string"
|
|
},
|
|
"Caveats": {
|
|
"type": "string"
|
|
},
|
|
"ShortDescription": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
},
|
|
"Homepage": {
|
|
"type": "string"
|
|
},
|
|
"URLTemplate": {
|
|
"type": "string"
|
|
},
|
|
"Goarm": {
|
|
"type": "string"
|
|
},
|
|
"Goamd64": {
|
|
"type": "string"
|
|
},
|
|
"SkipUpload": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"IDs",
|
|
"Name",
|
|
"Index",
|
|
"CommitAuthor",
|
|
"CommitMessageTemplate",
|
|
"Caveats",
|
|
"ShortDescription",
|
|
"Description",
|
|
"Homepage",
|
|
"URLTemplate",
|
|
"Goarm",
|
|
"Goamd64",
|
|
"SkipUpload"
|
|
]
|
|
},
|
|
"LinkedIn": {
|
|
"properties": {
|
|
"Enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"MessageTemplate": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Enabled",
|
|
"MessageTemplate"
|
|
]
|
|
},
|
|
"Mattermost": {
|
|
"properties": {
|
|
"Enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"MessageTemplate": {
|
|
"type": "string"
|
|
},
|
|
"TitleTemplate": {
|
|
"type": "string"
|
|
},
|
|
"Color": {
|
|
"type": "string"
|
|
},
|
|
"Channel": {
|
|
"type": "string"
|
|
},
|
|
"Username": {
|
|
"type": "string"
|
|
},
|
|
"IconEmoji": {
|
|
"type": "string"
|
|
},
|
|
"IconURL": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Enabled",
|
|
"MessageTemplate",
|
|
"TitleTemplate",
|
|
"Color",
|
|
"Channel",
|
|
"Username",
|
|
"IconEmoji",
|
|
"IconURL"
|
|
]
|
|
},
|
|
"Milestone": {
|
|
"properties": {
|
|
"Repo": {
|
|
"$ref": "#/$defs/Repo"
|
|
},
|
|
"Close": {
|
|
"type": "boolean"
|
|
},
|
|
"FailOnError": {
|
|
"type": "boolean"
|
|
},
|
|
"NameTemplate": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Repo",
|
|
"Close",
|
|
"FailOnError",
|
|
"NameTemplate"
|
|
]
|
|
},
|
|
"NFPM": {
|
|
"properties": {
|
|
"FileNameTemplate": {
|
|
"type": "string"
|
|
},
|
|
"PackageName": {
|
|
"type": "string"
|
|
},
|
|
"Epoch": {
|
|
"type": "string"
|
|
},
|
|
"Release": {
|
|
"type": "string"
|
|
},
|
|
"Prerelease": {
|
|
"type": "string"
|
|
},
|
|
"VersionMetadata": {
|
|
"type": "string"
|
|
},
|
|
"Replacements": {
|
|
"patternProperties": {
|
|
".*": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Dependencies": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Recommends": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Suggests": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Conflicts": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Replaces": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Contents": {
|
|
"$ref": "#/$defs/Contents"
|
|
},
|
|
"Scripts": {
|
|
"$ref": "#/$defs/NFPMScripts"
|
|
},
|
|
"RPM": {
|
|
"$ref": "#/$defs/NFPMRPM"
|
|
},
|
|
"Deb": {
|
|
"$ref": "#/$defs/NFPMDeb"
|
|
},
|
|
"APK": {
|
|
"$ref": "#/$defs/NFPMAPK"
|
|
},
|
|
"Overrides": {
|
|
"patternProperties": {
|
|
".*": {
|
|
"$ref": "#/$defs/NFPMOverridables"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ID": {
|
|
"type": "string"
|
|
},
|
|
"Builds": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Formats": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Section": {
|
|
"type": "string"
|
|
},
|
|
"Priority": {
|
|
"type": "string"
|
|
},
|
|
"Vendor": {
|
|
"type": "string"
|
|
},
|
|
"Homepage": {
|
|
"type": "string"
|
|
},
|
|
"Maintainer": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
},
|
|
"License": {
|
|
"type": "string"
|
|
},
|
|
"Bindir": {
|
|
"type": "string"
|
|
},
|
|
"Meta": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"FileNameTemplate",
|
|
"PackageName",
|
|
"Epoch",
|
|
"Release",
|
|
"Prerelease",
|
|
"VersionMetadata",
|
|
"Replacements",
|
|
"Dependencies",
|
|
"Recommends",
|
|
"Suggests",
|
|
"Conflicts",
|
|
"Replaces",
|
|
"Contents",
|
|
"Scripts",
|
|
"RPM",
|
|
"Deb",
|
|
"APK",
|
|
"Overrides",
|
|
"ID",
|
|
"Builds",
|
|
"Formats",
|
|
"Section",
|
|
"Priority",
|
|
"Vendor",
|
|
"Homepage",
|
|
"Maintainer",
|
|
"Description",
|
|
"License",
|
|
"Bindir",
|
|
"Meta"
|
|
]
|
|
},
|
|
"NFPMAPK": {
|
|
"properties": {
|
|
"Scripts": {
|
|
"$ref": "#/$defs/NFPMAPKScripts"
|
|
},
|
|
"Signature": {
|
|
"$ref": "#/$defs/NFPMAPKSignature"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Scripts",
|
|
"Signature"
|
|
]
|
|
},
|
|
"NFPMAPKScripts": {
|
|
"properties": {
|
|
"PreUpgrade": {
|
|
"type": "string"
|
|
},
|
|
"PostUpgrade": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"PreUpgrade",
|
|
"PostUpgrade"
|
|
]
|
|
},
|
|
"NFPMAPKSignature": {
|
|
"properties": {
|
|
"KeyFile": {
|
|
"type": "string"
|
|
},
|
|
"KeyPassphrase": {
|
|
"type": "string"
|
|
},
|
|
"KeyName": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"KeyFile",
|
|
"KeyPassphrase",
|
|
"KeyName"
|
|
]
|
|
},
|
|
"NFPMDeb": {
|
|
"properties": {
|
|
"Scripts": {
|
|
"$ref": "#/$defs/NFPMDebScripts"
|
|
},
|
|
"Triggers": {
|
|
"$ref": "#/$defs/NFPMDebTriggers"
|
|
},
|
|
"Breaks": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Signature": {
|
|
"$ref": "#/$defs/NFPMDebSignature"
|
|
},
|
|
"Lintian": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Scripts",
|
|
"Triggers",
|
|
"Breaks",
|
|
"Signature",
|
|
"Lintian"
|
|
]
|
|
},
|
|
"NFPMDebScripts": {
|
|
"properties": {
|
|
"Rules": {
|
|
"type": "string"
|
|
},
|
|
"Templates": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Rules",
|
|
"Templates"
|
|
]
|
|
},
|
|
"NFPMDebSignature": {
|
|
"properties": {
|
|
"KeyFile": {
|
|
"type": "string"
|
|
},
|
|
"KeyPassphrase": {
|
|
"type": "string"
|
|
},
|
|
"Type": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"KeyFile",
|
|
"KeyPassphrase",
|
|
"Type"
|
|
]
|
|
},
|
|
"NFPMDebTriggers": {
|
|
"properties": {
|
|
"Interest": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"InterestAwait": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"InterestNoAwait": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Activate": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"ActivateAwait": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"ActivateNoAwait": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Interest",
|
|
"InterestAwait",
|
|
"InterestNoAwait",
|
|
"Activate",
|
|
"ActivateAwait",
|
|
"ActivateNoAwait"
|
|
]
|
|
},
|
|
"NFPMOverridables": {
|
|
"properties": {
|
|
"FileNameTemplate": {
|
|
"type": "string"
|
|
},
|
|
"PackageName": {
|
|
"type": "string"
|
|
},
|
|
"Epoch": {
|
|
"type": "string"
|
|
},
|
|
"Release": {
|
|
"type": "string"
|
|
},
|
|
"Prerelease": {
|
|
"type": "string"
|
|
},
|
|
"VersionMetadata": {
|
|
"type": "string"
|
|
},
|
|
"Replacements": {
|
|
"patternProperties": {
|
|
".*": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Dependencies": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Recommends": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Suggests": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Conflicts": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Replaces": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Contents": {
|
|
"$ref": "#/$defs/Contents"
|
|
},
|
|
"Scripts": {
|
|
"$ref": "#/$defs/NFPMScripts"
|
|
},
|
|
"RPM": {
|
|
"$ref": "#/$defs/NFPMRPM"
|
|
},
|
|
"Deb": {
|
|
"$ref": "#/$defs/NFPMDeb"
|
|
},
|
|
"APK": {
|
|
"$ref": "#/$defs/NFPMAPK"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"FileNameTemplate",
|
|
"PackageName",
|
|
"Epoch",
|
|
"Release",
|
|
"Prerelease",
|
|
"VersionMetadata",
|
|
"Replacements",
|
|
"Dependencies",
|
|
"Recommends",
|
|
"Suggests",
|
|
"Conflicts",
|
|
"Replaces",
|
|
"Contents",
|
|
"Scripts",
|
|
"RPM",
|
|
"Deb",
|
|
"APK"
|
|
]
|
|
},
|
|
"NFPMRPM": {
|
|
"properties": {
|
|
"Summary": {
|
|
"type": "string"
|
|
},
|
|
"Group": {
|
|
"type": "string"
|
|
},
|
|
"Compression": {
|
|
"type": "string"
|
|
},
|
|
"Signature": {
|
|
"$ref": "#/$defs/NFPMRPMSignature"
|
|
},
|
|
"Scripts": {
|
|
"$ref": "#/$defs/NFPMRPMScripts"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Summary",
|
|
"Group",
|
|
"Compression",
|
|
"Signature",
|
|
"Scripts"
|
|
]
|
|
},
|
|
"NFPMRPMScripts": {
|
|
"properties": {
|
|
"PreTrans": {
|
|
"type": "string"
|
|
},
|
|
"PostTrans": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"PreTrans",
|
|
"PostTrans"
|
|
]
|
|
},
|
|
"NFPMRPMSignature": {
|
|
"properties": {
|
|
"KeyFile": {
|
|
"type": "string"
|
|
},
|
|
"KeyPassphrase": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"KeyFile",
|
|
"KeyPassphrase"
|
|
]
|
|
},
|
|
"NFPMScripts": {
|
|
"properties": {
|
|
"PreInstall": {
|
|
"type": "string"
|
|
},
|
|
"PostInstall": {
|
|
"type": "string"
|
|
},
|
|
"PreRemove": {
|
|
"type": "string"
|
|
},
|
|
"PostRemove": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"PreInstall",
|
|
"PostInstall",
|
|
"PreRemove",
|
|
"PostRemove"
|
|
]
|
|
},
|
|
"Project": {
|
|
"properties": {
|
|
"ProjectName": {
|
|
"type": "string"
|
|
},
|
|
"Env": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Release": {
|
|
"$ref": "#/$defs/Release"
|
|
},
|
|
"Milestones": {
|
|
"items": {
|
|
"$ref": "#/$defs/Milestone"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Brews": {
|
|
"items": {
|
|
"$ref": "#/$defs/Homebrew"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Rigs": {
|
|
"items": {
|
|
"$ref": "#/$defs/GoFish"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"AURs": {
|
|
"items": {
|
|
"$ref": "#/$defs/AUR"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Krews": {
|
|
"items": {
|
|
"$ref": "#/$defs/Krew"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Scoop": {
|
|
"$ref": "#/$defs/Scoop"
|
|
},
|
|
"Builds": {
|
|
"items": {
|
|
"$ref": "#/$defs/Build"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Archives": {
|
|
"items": {
|
|
"$ref": "#/$defs/Archive"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"NFPMs": {
|
|
"items": {
|
|
"$ref": "#/$defs/NFPM"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Snapcrafts": {
|
|
"items": {
|
|
"$ref": "#/$defs/Snapcraft"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Snapshot": {
|
|
"$ref": "#/$defs/Snapshot"
|
|
},
|
|
"Checksum": {
|
|
"$ref": "#/$defs/Checksum"
|
|
},
|
|
"Dockers": {
|
|
"items": {
|
|
"$ref": "#/$defs/Docker"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"DockerManifests": {
|
|
"items": {
|
|
"$ref": "#/$defs/DockerManifest"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Artifactories": {
|
|
"items": {
|
|
"$ref": "#/$defs/Upload"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Uploads": {
|
|
"items": {
|
|
"$ref": "#/$defs/Upload"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Blobs": {
|
|
"items": {
|
|
"$ref": "#/$defs/Blob"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Publishers": {
|
|
"items": {
|
|
"$ref": "#/$defs/Publisher"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Changelog": {
|
|
"$ref": "#/$defs/Changelog"
|
|
},
|
|
"Dist": {
|
|
"type": "string"
|
|
},
|
|
"Signs": {
|
|
"items": {
|
|
"$ref": "#/$defs/Sign"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"DockerSigns": {
|
|
"items": {
|
|
"$ref": "#/$defs/Sign"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"EnvFiles": {
|
|
"$ref": "#/$defs/EnvFiles"
|
|
},
|
|
"Before": {
|
|
"$ref": "#/$defs/Before"
|
|
},
|
|
"Source": {
|
|
"$ref": "#/$defs/Source"
|
|
},
|
|
"GoMod": {
|
|
"$ref": "#/$defs/GoMod"
|
|
},
|
|
"Announce": {
|
|
"$ref": "#/$defs/Announce"
|
|
},
|
|
"SBOMs": {
|
|
"items": {
|
|
"$ref": "#/$defs/SBOM"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"UniversalBinaries": {
|
|
"items": {
|
|
"$ref": "#/$defs/UniversalBinary"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"SingleBuild": {
|
|
"$ref": "#/$defs/Build"
|
|
},
|
|
"GitHubURLs": {
|
|
"$ref": "#/$defs/GitHubURLs"
|
|
},
|
|
"GitLabURLs": {
|
|
"$ref": "#/$defs/GitLabURLs"
|
|
},
|
|
"GiteaURLs": {
|
|
"$ref": "#/$defs/GiteaURLs"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"ProjectName",
|
|
"Env",
|
|
"Release",
|
|
"Milestones",
|
|
"Brews",
|
|
"Rigs",
|
|
"AURs",
|
|
"Krews",
|
|
"Scoop",
|
|
"Builds",
|
|
"Archives",
|
|
"NFPMs",
|
|
"Snapcrafts",
|
|
"Snapshot",
|
|
"Checksum",
|
|
"Dockers",
|
|
"DockerManifests",
|
|
"Artifactories",
|
|
"Uploads",
|
|
"Blobs",
|
|
"Publishers",
|
|
"Changelog",
|
|
"Dist",
|
|
"Signs",
|
|
"DockerSigns",
|
|
"EnvFiles",
|
|
"Before",
|
|
"Source",
|
|
"GoMod",
|
|
"Announce",
|
|
"SBOMs",
|
|
"UniversalBinaries",
|
|
"SingleBuild",
|
|
"GitHubURLs",
|
|
"GitLabURLs",
|
|
"GiteaURLs"
|
|
]
|
|
},
|
|
"Publisher": {
|
|
"properties": {
|
|
"Name": {
|
|
"type": "string"
|
|
},
|
|
"IDs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Checksum": {
|
|
"type": "boolean"
|
|
},
|
|
"Signature": {
|
|
"type": "boolean"
|
|
},
|
|
"Dir": {
|
|
"type": "string"
|
|
},
|
|
"Cmd": {
|
|
"type": "string"
|
|
},
|
|
"Env": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"ExtraFiles": {
|
|
"items": {
|
|
"$ref": "#/$defs/ExtraFile"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Name",
|
|
"IDs",
|
|
"Checksum",
|
|
"Signature",
|
|
"Dir",
|
|
"Cmd",
|
|
"Env",
|
|
"ExtraFiles"
|
|
]
|
|
},
|
|
"Reddit": {
|
|
"properties": {
|
|
"Enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"ApplicationID": {
|
|
"type": "string"
|
|
},
|
|
"Username": {
|
|
"type": "string"
|
|
},
|
|
"TitleTemplate": {
|
|
"type": "string"
|
|
},
|
|
"URLTemplate": {
|
|
"type": "string"
|
|
},
|
|
"Sub": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Enabled",
|
|
"ApplicationID",
|
|
"Username",
|
|
"TitleTemplate",
|
|
"URLTemplate",
|
|
"Sub"
|
|
]
|
|
},
|
|
"Release": {
|
|
"properties": {
|
|
"GitHub": {
|
|
"$ref": "#/$defs/Repo"
|
|
},
|
|
"GitLab": {
|
|
"$ref": "#/$defs/Repo"
|
|
},
|
|
"Gitea": {
|
|
"$ref": "#/$defs/Repo"
|
|
},
|
|
"Draft": {
|
|
"type": "boolean"
|
|
},
|
|
"Disable": {
|
|
"type": "boolean"
|
|
},
|
|
"Prerelease": {
|
|
"type": "string"
|
|
},
|
|
"NameTemplate": {
|
|
"type": "string"
|
|
},
|
|
"IDs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"ExtraFiles": {
|
|
"items": {
|
|
"$ref": "#/$defs/ExtraFile"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"DiscussionCategoryName": {
|
|
"type": "string"
|
|
},
|
|
"Header": {
|
|
"type": "string"
|
|
},
|
|
"Footer": {
|
|
"type": "string"
|
|
},
|
|
"ReleaseNotesMode": {
|
|
"type": "string",
|
|
"enum": [
|
|
"keep-existing",
|
|
"append",
|
|
"prepend",
|
|
"replace"
|
|
],
|
|
"default": "keep-existing"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"GitHub",
|
|
"GitLab",
|
|
"Gitea",
|
|
"Draft",
|
|
"Disable",
|
|
"Prerelease",
|
|
"NameTemplate",
|
|
"IDs",
|
|
"ExtraFiles",
|
|
"DiscussionCategoryName",
|
|
"Header",
|
|
"Footer",
|
|
"ReleaseNotesMode"
|
|
]
|
|
},
|
|
"Repo": {
|
|
"properties": {
|
|
"Owner": {
|
|
"type": "string"
|
|
},
|
|
"Name": {
|
|
"type": "string"
|
|
},
|
|
"RawURL": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Owner",
|
|
"Name",
|
|
"RawURL"
|
|
]
|
|
},
|
|
"RepoRef": {
|
|
"properties": {
|
|
"Owner": {
|
|
"type": "string"
|
|
},
|
|
"Name": {
|
|
"type": "string"
|
|
},
|
|
"Token": {
|
|
"type": "string"
|
|
},
|
|
"Branch": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Owner",
|
|
"Name",
|
|
"Token",
|
|
"Branch"
|
|
]
|
|
},
|
|
"SBOM": {
|
|
"properties": {
|
|
"ID": {
|
|
"type": "string"
|
|
},
|
|
"Cmd": {
|
|
"type": "string"
|
|
},
|
|
"Env": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Args": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Documents": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Artifacts": {
|
|
"type": "string"
|
|
},
|
|
"IDs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"ID",
|
|
"Cmd",
|
|
"Env",
|
|
"Args",
|
|
"Documents",
|
|
"Artifacts",
|
|
"IDs"
|
|
]
|
|
},
|
|
"SMTP": {
|
|
"properties": {
|
|
"Enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"Host": {
|
|
"type": "string"
|
|
},
|
|
"Port": {
|
|
"type": "integer"
|
|
},
|
|
"Username": {
|
|
"type": "string"
|
|
},
|
|
"From": {
|
|
"type": "string"
|
|
},
|
|
"To": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"SubjectTemplate": {
|
|
"type": "string"
|
|
},
|
|
"BodyTemplate": {
|
|
"type": "string"
|
|
},
|
|
"InsecureSkipVerify": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Enabled",
|
|
"Host",
|
|
"Port",
|
|
"Username",
|
|
"From",
|
|
"To",
|
|
"SubjectTemplate",
|
|
"BodyTemplate",
|
|
"InsecureSkipVerify"
|
|
]
|
|
},
|
|
"Scoop": {
|
|
"properties": {
|
|
"Name": {
|
|
"type": "string"
|
|
},
|
|
"Bucket": {
|
|
"$ref": "#/$defs/RepoRef"
|
|
},
|
|
"Folder": {
|
|
"type": "string"
|
|
},
|
|
"CommitAuthor": {
|
|
"$ref": "#/$defs/CommitAuthor"
|
|
},
|
|
"CommitMessageTemplate": {
|
|
"type": "string"
|
|
},
|
|
"Homepage": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
},
|
|
"License": {
|
|
"type": "string"
|
|
},
|
|
"URLTemplate": {
|
|
"type": "string"
|
|
},
|
|
"Persist": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"SkipUpload": {
|
|
"type": "string"
|
|
},
|
|
"PreInstall": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"PostInstall": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Goamd64": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Name",
|
|
"Bucket",
|
|
"Folder",
|
|
"CommitAuthor",
|
|
"CommitMessageTemplate",
|
|
"Homepage",
|
|
"Description",
|
|
"License",
|
|
"URLTemplate",
|
|
"Persist",
|
|
"SkipUpload",
|
|
"PreInstall",
|
|
"PostInstall",
|
|
"Goamd64"
|
|
]
|
|
},
|
|
"Sign": {
|
|
"properties": {
|
|
"ID": {
|
|
"type": "string"
|
|
},
|
|
"Cmd": {
|
|
"type": "string"
|
|
},
|
|
"Args": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Signature": {
|
|
"type": "string"
|
|
},
|
|
"Artifacts": {
|
|
"type": "string"
|
|
},
|
|
"IDs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Stdin": {
|
|
"type": "string"
|
|
},
|
|
"StdinFile": {
|
|
"type": "string"
|
|
},
|
|
"Env": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Certificate": {
|
|
"type": "string"
|
|
},
|
|
"Output": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"ID",
|
|
"Cmd",
|
|
"Args",
|
|
"Signature",
|
|
"Artifacts",
|
|
"IDs",
|
|
"Stdin",
|
|
"StdinFile",
|
|
"Env",
|
|
"Certificate",
|
|
"Output"
|
|
]
|
|
},
|
|
"Slack": {
|
|
"properties": {
|
|
"Enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"MessageTemplate": {
|
|
"type": "string"
|
|
},
|
|
"Channel": {
|
|
"type": "string"
|
|
},
|
|
"Username": {
|
|
"type": "string"
|
|
},
|
|
"IconEmoji": {
|
|
"type": "string"
|
|
},
|
|
"IconURL": {
|
|
"type": "string"
|
|
},
|
|
"Blocks": {
|
|
"items": {
|
|
"$ref": "#/$defs/SlackBlock"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Attachments": {
|
|
"items": {
|
|
"$ref": "#/$defs/SlackAttachment"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Enabled",
|
|
"MessageTemplate",
|
|
"Channel",
|
|
"Username",
|
|
"IconEmoji",
|
|
"IconURL",
|
|
"Blocks",
|
|
"Attachments"
|
|
]
|
|
},
|
|
"SlackAttachment": {
|
|
"properties": {
|
|
"Internal": true
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Internal"
|
|
]
|
|
},
|
|
"SlackBlock": {
|
|
"properties": {
|
|
"Internal": true
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Internal"
|
|
]
|
|
},
|
|
"Snapcraft": {
|
|
"properties": {
|
|
"NameTemplate": {
|
|
"type": "string"
|
|
},
|
|
"Replacements": {
|
|
"patternProperties": {
|
|
".*": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Publish": {
|
|
"type": "boolean"
|
|
},
|
|
"ID": {
|
|
"type": "string"
|
|
},
|
|
"Builds": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Name": {
|
|
"type": "string"
|
|
},
|
|
"Summary": {
|
|
"type": "string"
|
|
},
|
|
"Description": {
|
|
"type": "string"
|
|
},
|
|
"Base": {
|
|
"type": "string"
|
|
},
|
|
"License": {
|
|
"type": "string"
|
|
},
|
|
"Grade": {
|
|
"type": "string"
|
|
},
|
|
"ChannelTemplates": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Confinement": {
|
|
"type": "string"
|
|
},
|
|
"Layout": {
|
|
"patternProperties": {
|
|
".*": {
|
|
"$ref": "#/$defs/SnapcraftLayoutMetadata"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Apps": {
|
|
"patternProperties": {
|
|
".*": {
|
|
"$ref": "#/$defs/SnapcraftAppMetadata"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Plugs": {
|
|
"type": "object"
|
|
},
|
|
"Files": {
|
|
"items": {
|
|
"$ref": "#/$defs/SnapcraftExtraFiles"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"NameTemplate",
|
|
"Replacements",
|
|
"Publish",
|
|
"ID",
|
|
"Builds",
|
|
"Name",
|
|
"Summary",
|
|
"Description",
|
|
"Base",
|
|
"License",
|
|
"Grade",
|
|
"ChannelTemplates",
|
|
"Confinement",
|
|
"Layout",
|
|
"Apps",
|
|
"Plugs",
|
|
"Files"
|
|
]
|
|
},
|
|
"SnapcraftAppMetadata": {
|
|
"properties": {
|
|
"Command": {
|
|
"type": "string"
|
|
},
|
|
"Args": {
|
|
"type": "string"
|
|
},
|
|
"Adapter": {
|
|
"type": "string"
|
|
},
|
|
"After": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Aliases": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Autostart": {
|
|
"type": "string"
|
|
},
|
|
"Before": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"BusName": {
|
|
"type": "string"
|
|
},
|
|
"CommandChain": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"CommonID": {
|
|
"type": "string"
|
|
},
|
|
"Completer": {
|
|
"type": "string"
|
|
},
|
|
"Daemon": {
|
|
"type": "string"
|
|
},
|
|
"Desktop": {
|
|
"type": "string"
|
|
},
|
|
"Environment": {
|
|
"type": "object"
|
|
},
|
|
"Extensions": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"InstallMode": {
|
|
"type": "string"
|
|
},
|
|
"Passthrough": {
|
|
"type": "object"
|
|
},
|
|
"Plugs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"PostStopCommand": {
|
|
"type": "string"
|
|
},
|
|
"RefreshMode": {
|
|
"type": "string"
|
|
},
|
|
"ReloadCommand": {
|
|
"type": "string"
|
|
},
|
|
"RestartCondition": {
|
|
"type": "string"
|
|
},
|
|
"RestartDelay": {
|
|
"type": "string"
|
|
},
|
|
"Slots": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Sockets": {
|
|
"type": "object"
|
|
},
|
|
"StartTimeout": {
|
|
"type": "string"
|
|
},
|
|
"StopCommand": {
|
|
"type": "string"
|
|
},
|
|
"StopMode": {
|
|
"type": "string"
|
|
},
|
|
"StopTimeout": {
|
|
"type": "string"
|
|
},
|
|
"Timer": {
|
|
"type": "string"
|
|
},
|
|
"WatchdogTimeout": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Command",
|
|
"Args",
|
|
"Adapter",
|
|
"After",
|
|
"Aliases",
|
|
"Autostart",
|
|
"Before",
|
|
"BusName",
|
|
"CommandChain",
|
|
"CommonID",
|
|
"Completer",
|
|
"Daemon",
|
|
"Desktop",
|
|
"Environment",
|
|
"Extensions",
|
|
"InstallMode",
|
|
"Passthrough",
|
|
"Plugs",
|
|
"PostStopCommand",
|
|
"RefreshMode",
|
|
"ReloadCommand",
|
|
"RestartCondition",
|
|
"RestartDelay",
|
|
"Slots",
|
|
"Sockets",
|
|
"StartTimeout",
|
|
"StopCommand",
|
|
"StopMode",
|
|
"StopTimeout",
|
|
"Timer",
|
|
"WatchdogTimeout"
|
|
]
|
|
},
|
|
"SnapcraftExtraFiles": {
|
|
"properties": {
|
|
"Source": {
|
|
"type": "string"
|
|
},
|
|
"Destination": {
|
|
"type": "string"
|
|
},
|
|
"Mode": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Source",
|
|
"Destination",
|
|
"Mode"
|
|
]
|
|
},
|
|
"SnapcraftLayoutMetadata": {
|
|
"properties": {
|
|
"Symlink": {
|
|
"type": "string"
|
|
},
|
|
"Bind": {
|
|
"type": "string"
|
|
},
|
|
"BindFile": {
|
|
"type": "string"
|
|
},
|
|
"Type": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Symlink",
|
|
"Bind",
|
|
"BindFile",
|
|
"Type"
|
|
]
|
|
},
|
|
"Snapshot": {
|
|
"properties": {
|
|
"NameTemplate": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"NameTemplate"
|
|
]
|
|
},
|
|
"Source": {
|
|
"properties": {
|
|
"NameTemplate": {
|
|
"type": "string"
|
|
},
|
|
"Format": {
|
|
"type": "string"
|
|
},
|
|
"Enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"PrefixTemplate": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"NameTemplate",
|
|
"Format",
|
|
"Enabled",
|
|
"PrefixTemplate"
|
|
]
|
|
},
|
|
"StringArray": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
]
|
|
},
|
|
"Teams": {
|
|
"properties": {
|
|
"Enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"TitleTemplate": {
|
|
"type": "string"
|
|
},
|
|
"MessageTemplate": {
|
|
"type": "string"
|
|
},
|
|
"Color": {
|
|
"type": "string"
|
|
},
|
|
"IconURL": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Enabled",
|
|
"TitleTemplate",
|
|
"MessageTemplate",
|
|
"Color",
|
|
"IconURL"
|
|
]
|
|
},
|
|
"Telegram": {
|
|
"properties": {
|
|
"Enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"MessageTemplate": {
|
|
"type": "string"
|
|
},
|
|
"ChatID": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Enabled",
|
|
"MessageTemplate",
|
|
"ChatID"
|
|
]
|
|
},
|
|
"Twitter": {
|
|
"properties": {
|
|
"Enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"MessageTemplate": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Enabled",
|
|
"MessageTemplate"
|
|
]
|
|
},
|
|
"UniversalBinary": {
|
|
"properties": {
|
|
"ID": {
|
|
"type": "string"
|
|
},
|
|
"IDs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"NameTemplate": {
|
|
"type": "string"
|
|
},
|
|
"Replace": {
|
|
"type": "boolean"
|
|
},
|
|
"Hooks": {
|
|
"$ref": "#/$defs/BuildHookConfig"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"ID",
|
|
"IDs",
|
|
"NameTemplate",
|
|
"Replace",
|
|
"Hooks"
|
|
]
|
|
},
|
|
"Upload": {
|
|
"properties": {
|
|
"Name": {
|
|
"type": "string"
|
|
},
|
|
"IDs": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Exts": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"Target": {
|
|
"type": "string"
|
|
},
|
|
"Username": {
|
|
"type": "string"
|
|
},
|
|
"Mode": {
|
|
"type": "string"
|
|
},
|
|
"Method": {
|
|
"type": "string"
|
|
},
|
|
"ChecksumHeader": {
|
|
"type": "string"
|
|
},
|
|
"TrustedCerts": {
|
|
"type": "string"
|
|
},
|
|
"Checksum": {
|
|
"type": "boolean"
|
|
},
|
|
"Signature": {
|
|
"type": "boolean"
|
|
},
|
|
"CustomArtifactName": {
|
|
"type": "boolean"
|
|
},
|
|
"CustomHeaders": {
|
|
"patternProperties": {
|
|
".*": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Name",
|
|
"IDs",
|
|
"Exts",
|
|
"Target",
|
|
"Username",
|
|
"Mode",
|
|
"Method",
|
|
"ChecksumHeader",
|
|
"TrustedCerts",
|
|
"Checksum",
|
|
"Signature",
|
|
"CustomArtifactName",
|
|
"CustomHeaders"
|
|
]
|
|
},
|
|
"Webhook": {
|
|
"properties": {
|
|
"Enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"SkipTLSVerify": {
|
|
"type": "boolean"
|
|
},
|
|
"MessageTemplate": {
|
|
"type": "string"
|
|
},
|
|
"EndpointURL": {
|
|
"type": "string"
|
|
},
|
|
"Headers": {
|
|
"patternProperties": {
|
|
".*": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ContentType": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": [
|
|
"Enabled",
|
|
"SkipTLSVerify",
|
|
"MessageTemplate",
|
|
"EndpointURL",
|
|
"Headers",
|
|
"ContentType"
|
|
]
|
|
}
|
|
},
|
|
"description": "goreleaser configuration definition file"
|
|
} |