1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-31 01:53:50 +02:00
goreleaser/www/docs/static/schema.json

3943 lines
67 KiB
JSON
Generated

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/goreleaser/goreleaser/v2/pkg/config/project",
"$ref": "#/$defs/Project",
"$defs": {
"AUR": {
"properties": {
"name": {
"type": "string"
},
"ids": {
"items": {
"type": "string"
},
"type": "array"
},
"commit_author": {
"$ref": "#/$defs/CommitAuthor"
},
"commit_msg_template": {
"type": "string"
},
"description": {
"type": "string"
},
"homepage": {
"type": "string"
},
"license": {
"type": "string"
},
"skip_upload": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"url_template": {
"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"
},
"backup": {
"items": {
"type": "string"
},
"type": "array"
},
"rel": {
"type": "string"
},
"package": {
"type": "string"
},
"git_url": {
"type": "string"
},
"git_ssh_command": {
"type": "string"
},
"private_key": {
"type": "string"
},
"goamd64": {
"type": "string"
},
"directory": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"Announce": {
"properties": {
"skip": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"twitter": {
"$ref": "#/$defs/Twitter"
},
"mastodon": {
"$ref": "#/$defs/Mastodon"
},
"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"
},
"opencollective": {
"$ref": "#/$defs/OpenCollective"
},
"bluesky": {
"$ref": "#/$defs/Bluesky"
}
},
"additionalProperties": false,
"type": "object"
},
"Archive": {
"properties": {
"id": {
"type": "string"
},
"builds": {
"items": {
"type": "string"
},
"type": "array"
},
"builds_info": {
"$ref": "#/$defs/FileInfo"
},
"name_template": {
"type": "string"
},
"format": {
"type": "string",
"enum": [
"tar",
"tgz",
"tar.gz",
"zip",
"gz",
"tar.xz",
"txz",
"binary"
],
"default": "tar.gz"
},
"format_overrides": {
"items": {
"$ref": "#/$defs/FormatOverride"
},
"type": "array"
},
"wrap_in_directory": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"strip_binary_directory": {
"type": "boolean"
},
"files": {
"items": {
"$ref": "#/$defs/File"
},
"type": "array"
},
"meta": {
"type": "boolean"
},
"allow_different_binary_count": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object"
},
"Before": {
"properties": {
"hooks": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"Blob": {
"properties": {
"bucket": {
"type": "string"
},
"provider": {
"type": "string"
},
"region": {
"type": "string"
},
"disable_ssl": {
"type": "boolean"
},
"directory": {
"type": "string"
},
"kms_key": {
"type": "string"
},
"ids": {
"items": {
"type": "string"
},
"type": "array"
},
"endpoint": {
"type": "string"
},
"extra_files": {
"items": {
"$ref": "#/$defs/ExtraFile"
},
"type": "array"
},
"disable": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"s3_force_path_style": {
"type": "boolean"
},
"acl": {
"type": "string"
},
"cache_control": {
"items": {
"type": "string"
},
"type": "array"
},
"content_disposition": {
"type": "string"
},
"include_meta": {
"type": "boolean"
},
"extra_files_only": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object"
},
"Bluesky": {
"properties": {
"enabled": {
"type": "boolean"
},
"username": {
"type": "string"
},
"message_template": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"Build": {
"properties": {
"id": {
"type": "string"
},
"goos": {
"items": {
"type": "string"
},
"type": "array"
},
"goarch": {
"items": {
"type": "string"
},
"type": "array"
},
"goamd64": {
"items": {
"type": "string"
},
"type": "array"
},
"go386": {
"items": {
"type": "string"
},
"type": "array"
},
"goarm": {
"items": {
"type": "string"
},
"type": "array"
},
"goarm64": {
"items": {
"type": "string"
},
"type": "array"
},
"gomips": {
"items": {
"type": "string"
},
"type": "array"
},
"goppc64": {
"items": {
"type": "string"
},
"type": "array"
},
"goriscv64": {
"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"
},
"mod_timestamp": {
"type": "string"
},
"skip": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"gobinary": {
"type": "string"
},
"command": {
"type": "string"
},
"no_unique_dist_dir": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"no_main_check": {
"type": "boolean"
},
"buildmode": {
"type": "string",
"enum": [
"c-archive",
"c-shared",
"pie",
""
],
"default": ""
},
"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"
},
"overrides": {
"items": {
"$ref": "#/$defs/BuildDetailsOverride"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"BuildDetailsOverride": {
"properties": {
"goos": {
"type": "string"
},
"goarch": {
"type": "string"
},
"goamd64": {
"type": "string"
},
"go386": {
"type": "string"
},
"goarm64": {
"type": "string"
},
"goarm": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"gomips": {
"type": "string"
},
"goppc64": {
"type": "string"
},
"goriscv64": {
"type": "string"
},
"buildmode": {
"type": "string",
"enum": [
"c-archive",
"c-shared",
"pie",
""
],
"default": ""
},
"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"
},
"BuildHookConfig": {
"properties": {
"pre": {
"$ref": "#/$defs/Hooks"
},
"post": {
"$ref": "#/$defs/Hooks"
}
},
"additionalProperties": false,
"type": "object"
},
"Changelog": {
"properties": {
"filters": {
"$ref": "#/$defs/Filters"
},
"sort": {
"type": "string",
"enum": [
"asc",
"desc",
""
],
"default": ""
},
"disable": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"use": {
"type": "string",
"enum": [
"git",
"github",
"github-native",
"gitlab"
],
"default": "git"
},
"format": {
"type": "string"
},
"groups": {
"items": {
"$ref": "#/$defs/ChangelogGroup"
},
"type": "array"
},
"abbrev": {
"type": "integer"
}
},
"additionalProperties": false,
"type": "object"
},
"ChangelogGroup": {
"properties": {
"title": {
"type": "string"
},
"regexp": {
"type": "string"
},
"order": {
"type": "integer"
}
},
"additionalProperties": false,
"type": "object"
},
"Checksum": {
"properties": {
"name_template": {
"type": "string"
},
"algorithm": {
"type": "string"
},
"split": {
"type": "boolean"
},
"ids": {
"items": {
"type": "string"
},
"type": "array"
},
"disable": {
"type": "boolean"
},
"extra_files": {
"items": {
"$ref": "#/$defs/ExtraFile"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"Chocolatey": {
"properties": {
"name": {
"type": "string"
},
"ids": {
"items": {
"type": "string"
},
"type": "array"
},
"package_source_url": {
"type": "string"
},
"owners": {
"type": "string"
},
"title": {
"type": "string"
},
"authors": {
"type": "string"
},
"project_url": {
"type": "string"
},
"url_template": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"copyright": {
"type": "string"
},
"license_url": {
"type": "string"
},
"require_license_acceptance": {
"type": "boolean"
},
"project_source_url": {
"type": "string"
},
"docs_url": {
"type": "string"
},
"bug_tracker_url": {
"type": "string"
},
"tags": {
"type": "string"
},
"summary": {
"type": "string"
},
"description": {
"type": "string"
},
"release_notes": {
"type": "string"
},
"dependencies": {
"items": {
"$ref": "#/$defs/ChocolateyDependency"
},
"type": "array"
},
"skip_publish": {
"type": "boolean"
},
"api_key": {
"type": "string"
},
"source_repo": {
"type": "string"
},
"goamd64": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"ChocolateyDependency": {
"properties": {
"id": {
"type": "string"
},
"version": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"CommitAuthor": {
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"Content": {
"properties": {
"src": {
"type": "string"
},
"dst": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"symlink",
"ghost",
"config",
"config|noreplace",
"dir",
"tree",
""
],
"default": ""
},
"packager": {
"type": "string"
},
"file_info": {
"$ref": "#/$defs/ContentFileInfo"
},
"expand": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"dst"
]
},
"ContentFileInfo": {
"properties": {
"owner": {
"type": "string"
},
"group": {
"type": "string"
},
"mode": {
"type": "integer"
},
"mtime": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false,
"type": "object"
},
"Contents": {
"items": {
"$ref": "#/$defs/Content"
},
"type": "array"
},
"Discord": {
"properties": {
"enabled": {
"type": "boolean"
},
"message_template": {
"type": "string"
},
"author": {
"type": "string"
},
"color": {
"type": "string"
},
"icon_url": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"Docker": {
"properties": {
"id": {
"type": "string"
},
"ids": {
"items": {
"type": "string"
},
"type": "array"
},
"goos": {
"type": "string"
},
"goarch": {
"type": "string"
},
"goarm": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"goamd64": {
"type": "string"
},
"dockerfile": {
"type": "string"
},
"image_templates": {
"items": {
"type": "string"
},
"type": "array"
},
"skip_push": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"extra_files": {
"items": {
"type": "string"
},
"type": "array"
},
"build_flag_templates": {
"items": {
"type": "string"
},
"type": "array"
},
"push_flags": {
"items": {
"type": "string"
},
"type": "array"
},
"use": {
"type": "string",
"enum": [
"docker",
"buildx"
],
"default": "docker"
}
},
"additionalProperties": false,
"type": "object"
},
"DockerManifest": {
"properties": {
"id": {
"type": "string"
},
"name_template": {
"type": "string"
},
"skip_push": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"image_templates": {
"items": {
"type": "string"
},
"type": "array"
},
"create_flags": {
"items": {
"type": "string"
},
"type": "array"
},
"push_flags": {
"items": {
"type": "string"
},
"type": "array"
},
"use": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"EnvFiles": {
"properties": {
"github_token": {
"type": "string"
},
"gitlab_token": {
"type": "string"
},
"gitea_token": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"ExtraFile": {
"properties": {
"glob": {
"type": "string"
},
"name_template": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"File": {
"oneOf": [
{
"type": "string"
},
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/goreleaser/goreleaser/v2/pkg/config/file-alias",
"$defs": {
"FileInfo": {
"properties": {
"owner": {
"type": "string"
},
"group": {
"type": "string"
},
"mode": {
"type": "integer"
},
"mtime": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
}
},
"properties": {
"src": {
"type": "string"
},
"dst": {
"type": "string"
},
"strip_parent": {
"type": "boolean"
},
"info": {
"$ref": "#/$defs/FileInfo"
}
},
"additionalProperties": false,
"type": "object"
}
]
},
"FileInfo": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/goreleaser/goreleaser/v2/pkg/config/file-info",
"$ref": "#/$defs/FileInfo",
"$defs": {
"FileInfo": {
"properties": {
"owner": {
"type": "string"
},
"group": {
"type": "string"
},
"mode": {
"type": "integer"
},
"mtime": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
}
}
},
"Filters": {
"properties": {
"include": {
"items": {
"type": "string"
},
"type": "array"
},
"exclude": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"FlagArray": {
"oneOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"FormatOverride": {
"properties": {
"goos": {
"type": "string"
},
"format": {
"type": "string",
"enum": [
"tar",
"tgz",
"tar.gz",
"zip",
"gz",
"tar.xz",
"txz",
"binary",
"none"
],
"default": "tar.gz"
}
},
"additionalProperties": false,
"type": "object"
},
"Git": {
"properties": {
"tag_sort": {
"type": "string",
"enum": [
"-version:refname",
"-version:creatordate"
],
"default": "-version:refname"
},
"prerelease_suffix": {
"type": "string"
},
"ignore_tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"GitHubURLs": {
"properties": {
"api": {
"type": "string"
},
"upload": {
"type": "string"
},
"download": {
"type": "string"
},
"skip_tls_verify": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object"
},
"GitLabURLs": {
"properties": {
"api": {
"type": "string"
},
"download": {
"type": "string"
},
"skip_tls_verify": {
"type": "boolean"
},
"use_package_registry": {
"type": "boolean"
},
"use_job_token": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object"
},
"GitRepoRef": {
"properties": {
"url": {
"type": "string"
},
"ssh_command": {
"type": "string"
},
"private_key": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"GiteaURLs": {
"properties": {
"api": {
"type": "string"
},
"download": {
"type": "string"
},
"skip_tls_verify": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object"
},
"GoMod": {
"properties": {
"proxy": {
"type": "boolean"
},
"env": {
"items": {
"type": "string"
},
"type": "array"
},
"gobinary": {
"type": "string"
},
"mod": {
"type": "string"
},
"dir": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"Homebrew": {
"properties": {
"name": {
"type": "string"
},
"repository": {
"$ref": "#/$defs/RepoRef"
},
"commit_author": {
"$ref": "#/$defs/CommitAuthor"
},
"commit_msg_template": {
"type": "string"
},
"directory": {
"type": "string"
},
"caveats": {
"type": "string"
},
"install": {
"type": "string"
},
"extra_install": {
"type": "string"
},
"post_install": {
"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"
},
"skip_upload": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"download_strategy": {
"type": "string"
},
"url_template": {
"type": "string"
},
"url_headers": {
"items": {
"type": "string"
},
"type": "array"
},
"custom_require": {
"type": "string"
},
"custom_block": {
"type": "string"
},
"ids": {
"items": {
"type": "string"
},
"type": "array"
},
"goarm": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"goamd64": {
"type": "string"
},
"service": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"HomebrewDependency": {
"oneOf": [
{
"type": "string"
},
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/goreleaser/goreleaser/v2/pkg/config/homebrew-dependency",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"version": {
"type": "string"
},
"os": {
"type": "string",
"enum": [
"mac",
"linux"
]
}
},
"additionalProperties": false,
"type": "object"
}
]
},
"Hooks": {
"oneOf": [
{
"type": "string"
},
{
"items": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/goreleaser/goreleaser/v2/pkg/config/hook",
"oneOf": [
{
"type": "string"
},
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/goreleaser/goreleaser/v2/pkg/config/hook-alias",
"properties": {
"dir": {
"type": "string"
},
"cmd": {
"type": "string"
},
"env": {
"items": {
"type": "string"
},
"type": "array"
},
"output": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object"
}
]
},
"type": "array"
}
]
},
"IgnoredBuild": {
"properties": {
"goos": {
"type": "string"
},
"goarch": {
"type": "string"
},
"goamd64": {
"type": "string"
},
"go386": {
"type": "string"
},
"goarm": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"goarm64": {
"type": "string"
},
"gomips": {
"type": "string"
},
"goppc64": {
"type": "string"
},
"goriscv64": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"Ko": {
"properties": {
"id": {
"type": "string"
},
"build": {
"type": "string"
},
"main": {
"type": "string"
},
"working_dir": {
"type": "string"
},
"base_image": {
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"annotations": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"user": {
"type": "string"
},
"repository": {
"type": "string"
},
"platforms": {
"items": {
"type": "string"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"creation_time": {
"type": "string"
},
"ko_data_creation_time": {
"type": "string"
},
"sbom": {
"type": "string"
},
"ldflags": {
"items": {
"type": "string"
},
"type": "array"
},
"flags": {
"items": {
"type": "string"
},
"type": "array"
},
"env": {
"items": {
"type": "string"
},
"type": "array"
},
"bare": {
"type": "boolean"
},
"preserve_import_paths": {
"type": "boolean"
},
"base_import_paths": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object"
},
"Krew": {
"properties": {
"ids": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"repository": {
"$ref": "#/$defs/RepoRef"
},
"commit_author": {
"$ref": "#/$defs/CommitAuthor"
},
"commit_msg_template": {
"type": "string"
},
"caveats": {
"type": "string"
},
"short_description": {
"type": "string"
},
"description": {
"type": "string"
},
"homepage": {
"type": "string"
},
"url_template": {
"type": "string"
},
"goarm": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"goamd64": {
"type": "string"
},
"skip_upload": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
}
},
"additionalProperties": false,
"type": "object"
},
"Libdirs": {
"properties": {
"header": {
"type": "string"
},
"carchive": {
"type": "string"
},
"cshared": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"LinkedIn": {
"properties": {
"enabled": {
"type": "boolean"
},
"message_template": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"MacOSNotarize": {
"properties": {
"issuer_id": {
"type": "string"
},
"key": {
"type": "string"
},
"key_id": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"wait": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"issuer_id",
"key",
"key_id"
]
},
"MacOSSign": {
"properties": {
"certificate": {
"type": "string"
},
"password": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"certificate",
"password"
]
},
"MacOSSignNotarize": {
"properties": {
"ids": {
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"sign": {
"$ref": "#/$defs/MacOSSign"
},
"notarize": {
"$ref": "#/$defs/MacOSNotarize"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"sign",
"notarize"
]
},
"Mastodon": {
"properties": {
"enabled": {
"type": "boolean"
},
"message_template": {
"type": "string"
},
"server": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"server"
]
},
"Mattermost": {
"properties": {
"enabled": {
"type": "boolean"
},
"message_template": {
"type": "string"
},
"title_template": {
"type": "string"
},
"color": {
"type": "string"
},
"channel": {
"type": "string"
},
"username": {
"type": "string"
},
"icon_emoji": {
"type": "string"
},
"icon_url": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"Milestone": {
"properties": {
"repo": {
"$ref": "#/$defs/Repo"
},
"close": {
"type": "boolean"
},
"fail_on_error": {
"type": "boolean"
},
"name_template": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"NFPM": {
"properties": {
"file_name_template": {
"type": "string"
},
"package_name": {
"type": "string"
},
"epoch": {
"type": "string"
},
"release": {
"type": "string"
},
"prerelease": {
"type": "string"
},
"version_metadata": {
"type": "string"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"recommends": {
"items": {
"type": "string"
},
"type": "array"
},
"suggests": {
"items": {
"type": "string"
},
"type": "array"
},
"conflicts": {
"items": {
"type": "string"
},
"type": "array"
},
"umask": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"replaces": {
"items": {
"type": "string"
},
"type": "array"
},
"provides": {
"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"
},
"archlinux": {
"$ref": "#/$defs/NFPMArchLinux"
},
"ipk": {
"$ref": "#/$defs/NFPMIPK"
},
"overrides": {
"additionalProperties": {
"$ref": "#/$defs/NFPMOverridables"
},
"type": "object"
},
"id": {
"type": "string"
},
"builds": {
"items": {
"type": "string"
},
"type": "array"
},
"formats": {
"items": {
"type": "string",
"enum": [
"apk",
"deb",
"rpm",
"termux.deb",
"archlinux",
"ipk"
]
},
"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"
},
"libdirs": {
"$ref": "#/$defs/Libdirs"
},
"changelog": {
"type": "string"
},
"meta": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object"
},
"NFPMAPK": {
"properties": {
"scripts": {
"$ref": "#/$defs/NFPMAPKScripts"
},
"signature": {
"$ref": "#/$defs/NFPMAPKSignature"
}
},
"additionalProperties": false,
"type": "object"
},
"NFPMAPKScripts": {
"properties": {
"preupgrade": {
"type": "string"
},
"postupgrade": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"NFPMAPKSignature": {
"properties": {
"key_file": {
"type": "string"
},
"key_name": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"NFPMArchLinux": {
"properties": {
"pkgbase": {
"type": "string"
},
"packager": {
"type": "string"
},
"scripts": {
"$ref": "#/$defs/NFPMArchLinuxScripts"
}
},
"additionalProperties": false,
"type": "object"
},
"NFPMArchLinuxScripts": {
"properties": {
"preupgrade": {
"type": "string"
},
"postupgrade": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"NFPMDeb": {
"properties": {
"scripts": {
"$ref": "#/$defs/NFPMDebScripts"
},
"triggers": {
"$ref": "#/$defs/NFPMDebTriggers"
},
"breaks": {
"items": {
"type": "string"
},
"type": "array"
},
"signature": {
"$ref": "#/$defs/NFPMDebSignature"
},
"lintian_overrides": {
"items": {
"type": "string"
},
"type": "array"
},
"compression": {
"type": "string",
"enum": [
"gzip",
"xz",
"none"
],
"default": "gzip"
},
"fields": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"predepends": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"NFPMDebScripts": {
"properties": {
"rules": {
"type": "string"
},
"templates": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"NFPMDebSignature": {
"properties": {
"key_file": {
"type": "string"
},
"type": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"NFPMDebTriggers": {
"properties": {
"interest": {
"items": {
"type": "string"
},
"type": "array"
},
"interest_await": {
"items": {
"type": "string"
},
"type": "array"
},
"interest_noawait": {
"items": {
"type": "string"
},
"type": "array"
},
"activate": {
"items": {
"type": "string"
},
"type": "array"
},
"activate_await": {
"items": {
"type": "string"
},
"type": "array"
},
"activate_noawait": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"NFPMIPK": {
"properties": {
"abi_version": {
"type": "string"
},
"alternatives": {
"items": {
"$ref": "#/$defs/NFPMIPKAlternative"
},
"type": "array"
},
"auto_installed": {
"type": "boolean"
},
"essential": {
"type": "boolean"
},
"predepends": {
"items": {
"type": "string"
},
"type": "array"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"fields": {
"additionalProperties": {
"type": "string"
},
"type": "object"
}
},
"additionalProperties": false,
"type": "object"
},
"NFPMIPKAlternative": {
"properties": {
"priority": {
"type": "integer"
},
"target": {
"type": "string"
},
"link_name": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"NFPMOverridables": {
"properties": {
"file_name_template": {
"type": "string"
},
"package_name": {
"type": "string"
},
"epoch": {
"type": "string"
},
"release": {
"type": "string"
},
"prerelease": {
"type": "string"
},
"version_metadata": {
"type": "string"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"recommends": {
"items": {
"type": "string"
},
"type": "array"
},
"suggests": {
"items": {
"type": "string"
},
"type": "array"
},
"conflicts": {
"items": {
"type": "string"
},
"type": "array"
},
"umask": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"replaces": {
"items": {
"type": "string"
},
"type": "array"
},
"provides": {
"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"
},
"archlinux": {
"$ref": "#/$defs/NFPMArchLinux"
},
"ipk": {
"$ref": "#/$defs/NFPMIPK"
}
},
"additionalProperties": false,
"type": "object"
},
"NFPMRPM": {
"properties": {
"summary": {
"type": "string"
},
"group": {
"type": "string"
},
"compression": {
"type": "string"
},
"signature": {
"$ref": "#/$defs/NFPMRPMSignature"
},
"scripts": {
"$ref": "#/$defs/NFPMRPMScripts"
},
"prefixes": {
"items": {
"type": "string"
},
"type": "array"
},
"packager": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"NFPMRPMScripts": {
"properties": {
"pretrans": {
"type": "string"
},
"posttrans": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"NFPMRPMSignature": {
"properties": {
"key_file": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"NFPMScripts": {
"properties": {
"preinstall": {
"type": "string"
},
"postinstall": {
"type": "string"
},
"preremove": {
"type": "string"
},
"postremove": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"Nix": {
"properties": {
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"repository": {
"$ref": "#/$defs/RepoRef"
},
"commit_author": {
"$ref": "#/$defs/CommitAuthor"
},
"commit_msg_template": {
"type": "string"
},
"ids": {
"items": {
"type": "string"
},
"type": "array"
},
"goamd64": {
"type": "string"
},
"skip_upload": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"url_template": {
"type": "string"
},
"install": {
"type": "string"
},
"extra_install": {
"type": "string"
},
"post_install": {
"type": "string"
},
"description": {
"type": "string"
},
"homepage": {
"type": "string"
},
"license": {
"type": "string"
},
"dependencies": {
"items": {
"$ref": "#/$defs/NixDependency"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"NixDependency": {
"oneOf": [
{
"type": "string"
},
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/goreleaser/goreleaser/v2/pkg/config/nix-dependency-alias",
"properties": {
"name": {
"type": "string"
},
"os": {
"type": "string",
"enum": [
"linux",
"darwin"
]
}
},
"additionalProperties": false,
"type": "object",
"required": [
"name"
]
}
]
},
"Notarize": {
"properties": {
"macos": {
"items": {
"$ref": "#/$defs/MacOSSignNotarize"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"macos"
]
},
"OpenCollective": {
"properties": {
"enabled": {
"type": "boolean"
},
"slug": {
"type": "string"
},
"title_template": {
"type": "string"
},
"message_template": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"Project": {
"properties": {
"version": {
"type": "integer",
"enum": [
2
],
"default": 2
},
"project_name": {
"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"
},
"nix": {
"items": {
"$ref": "#/$defs/Nix"
},
"type": "array"
},
"winget": {
"items": {
"$ref": "#/$defs/Winget"
},
"type": "array"
},
"aurs": {
"items": {
"$ref": "#/$defs/AUR"
},
"type": "array"
},
"krews": {
"items": {
"$ref": "#/$defs/Krew"
},
"type": "array"
},
"kos": {
"items": {
"$ref": "#/$defs/Ko"
},
"type": "array"
},
"scoops": {
"items": {
"$ref": "#/$defs/Scoop"
},
"type": "array"
},
"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"
},
"docker_manifests": {
"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"
},
"notarize": {
"$ref": "#/$defs/Notarize"
},
"docker_signs": {
"items": {
"$ref": "#/$defs/Sign"
},
"type": "array"
},
"binary_signs": {
"items": {
"$ref": "#/$defs/Sign"
},
"type": "array"
},
"env_files": {
"$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"
},
"chocolateys": {
"items": {
"$ref": "#/$defs/Chocolatey"
},
"type": "array"
},
"git": {
"$ref": "#/$defs/Git"
},
"report_sizes": {
"type": "boolean"
},
"metadata": {
"$ref": "#/$defs/ProjectMetadata"
},
"universal_binaries": {
"items": {
"$ref": "#/$defs/UniversalBinary"
},
"type": "array"
},
"upx": {
"items": {
"$ref": "#/$defs/UPX"
},
"type": "array"
},
"force_token": {
"type": "string",
"enum": [
"github",
"gitlab",
"gitea",
""
],
"default": ""
},
"github_urls": {
"$ref": "#/$defs/GitHubURLs"
},
"gitlab_urls": {
"$ref": "#/$defs/GitLabURLs"
},
"gitea_urls": {
"$ref": "#/$defs/GiteaURLs"
}
},
"additionalProperties": false,
"type": "object"
},
"ProjectMetadata": {
"properties": {
"mod_timestamp": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"Publisher": {
"properties": {
"name": {
"type": "string"
},
"ids": {
"items": {
"type": "string"
},
"type": "array"
},
"checksum": {
"type": "boolean"
},
"signature": {
"type": "boolean"
},
"meta": {
"type": "boolean"
},
"dir": {
"type": "string"
},
"cmd": {
"type": "string"
},
"env": {
"items": {
"type": "string"
},
"type": "array"
},
"extra_files": {
"items": {
"$ref": "#/$defs/ExtraFile"
},
"type": "array"
},
"disable": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
}
},
"additionalProperties": false,
"type": "object"
},
"PullRequest": {
"properties": {
"enabled": {
"type": "boolean"
},
"base": {
"$ref": "#/$defs/PullRequestBase"
},
"draft": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object"
},
"PullRequestBase": {
"oneOf": [
{
"type": "string"
},
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/goreleaser/goreleaser/v2/pkg/config/pull-request-base",
"properties": {
"owner": {
"type": "string"
},
"name": {
"type": "string"
},
"branch": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
}
]
},
"Reddit": {
"properties": {
"enabled": {
"type": "boolean"
},
"application_id": {
"type": "string"
},
"username": {
"type": "string"
},
"title_template": {
"type": "string"
},
"url_template": {
"type": "string"
},
"sub": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"Release": {
"properties": {
"github": {
"$ref": "#/$defs/Repo"
},
"gitlab": {
"$ref": "#/$defs/Repo"
},
"gitea": {
"$ref": "#/$defs/Repo"
},
"draft": {
"type": "boolean"
},
"replace_existing_draft": {
"type": "boolean"
},
"target_commitish": {
"type": "string"
},
"disable": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"skip_upload": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"prerelease": {
"type": "string"
},
"make_latest": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"name_template": {
"type": "string"
},
"ids": {
"items": {
"type": "string"
},
"type": "array"
},
"extra_files": {
"items": {
"$ref": "#/$defs/ExtraFile"
},
"type": "array"
},
"discussion_category_name": {
"type": "string"
},
"header": {
"type": "string"
},
"footer": {
"type": "string"
},
"mode": {
"type": "string",
"enum": [
"keep-existing",
"append",
"prepend",
"replace"
],
"default": "keep-existing"
},
"replace_existing_artifacts": {
"type": "boolean"
},
"include_meta": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object"
},
"Repo": {
"properties": {
"owner": {
"type": "string"
},
"name": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"RepoRef": {
"properties": {
"owner": {
"type": "string"
},
"name": {
"type": "string"
},
"token": {
"type": "string"
},
"branch": {
"type": "string"
},
"git": {
"$ref": "#/$defs/GitRepoRef"
},
"pull_request": {
"$ref": "#/$defs/PullRequest"
}
},
"additionalProperties": false,
"type": "object"
},
"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",
"enum": [
"source",
"package",
"archive",
"binary",
"any",
"any"
],
"default": "archive"
},
"ids": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"SMTP": {
"properties": {
"enabled": {
"type": "boolean"
},
"host": {
"type": "string"
},
"port": {
"type": "integer"
},
"username": {
"type": "string"
},
"from": {
"type": "string"
},
"to": {
"items": {
"type": "string"
},
"type": "array"
},
"subject_template": {
"type": "string"
},
"body_template": {
"type": "string"
},
"insecure_skip_verify": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object"
},
"Scoop": {
"properties": {
"name": {
"type": "string"
},
"ids": {
"items": {
"type": "string"
},
"type": "array"
},
"repository": {
"$ref": "#/$defs/RepoRef"
},
"directory": {
"type": "string"
},
"commit_author": {
"$ref": "#/$defs/CommitAuthor"
},
"commit_msg_template": {
"type": "string"
},
"homepage": {
"type": "string"
},
"description": {
"type": "string"
},
"license": {
"type": "string"
},
"url_template": {
"type": "string"
},
"persist": {
"items": {
"type": "string"
},
"type": "array"
},
"skip_upload": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"pre_install": {
"items": {
"type": "string"
},
"type": "array"
},
"post_install": {
"items": {
"type": "string"
},
"type": "array"
},
"depends": {
"items": {
"type": "string"
},
"type": "array"
},
"shortcuts": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"goamd64": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"Sign": {
"properties": {
"id": {
"type": "string"
},
"cmd": {
"type": "string"
},
"args": {
"items": {
"type": "string"
},
"type": "array"
},
"signature": {
"type": "string"
},
"artifacts": {
"type": "string",
"enum": [
"all",
"manifests",
"images",
"checksum",
"source",
"package",
"archive",
"binary",
"sbom"
]
},
"ids": {
"items": {
"type": "string"
},
"type": "array"
},
"stdin": {
"type": "string"
},
"stdin_file": {
"type": "string"
},
"env": {
"items": {
"type": "string"
},
"type": "array"
},
"certificate": {
"type": "string"
},
"output": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object"
},
"Slack": {
"properties": {
"enabled": {
"type": "boolean"
},
"message_template": {
"type": "string"
},
"channel": {
"type": "string"
},
"username": {
"type": "string"
},
"icon_emoji": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"blocks": {
"items": {
"$ref": "#/$defs/SlackBlock"
},
"type": "array"
},
"attachments": {
"items": {
"$ref": "#/$defs/SlackAttachment"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"SlackAttachment": {
"properties": {
"Internal": true
},
"additionalProperties": false,
"type": "object",
"required": [
"Internal"
]
},
"SlackBlock": {
"properties": {
"Internal": true
},
"additionalProperties": false,
"type": "object",
"required": [
"Internal"
]
},
"Snapcraft": {
"properties": {
"name_template": {
"type": "string"
},
"publish": {
"type": "boolean"
},
"id": {
"type": "string"
},
"builds": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"base": {
"type": "string"
},
"license": {
"type": "string"
},
"grade": {
"type": "string",
"enum": [
"stable",
"devel"
],
"default": "stable"
},
"channel_templates": {
"items": {
"type": "string"
},
"type": "array"
},
"confinement": {
"type": "string",
"enum": [
"strict",
"classic",
"devmode"
],
"default": "strict"
},
"assumes": {
"items": {
"type": "string"
},
"type": "array"
},
"layout": {
"additionalProperties": {
"$ref": "#/$defs/SnapcraftLayoutMetadata"
},
"type": "object"
},
"apps": {
"additionalProperties": {
"$ref": "#/$defs/SnapcraftAppMetadata"
},
"type": "object"
},
"hooks": {
"type": "object"
},
"plugs": {
"type": "object"
},
"disable": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"extra_files": {
"items": {
"$ref": "#/$defs/SnapcraftExtraFiles"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"summary",
"description"
]
},
"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"
},
"bus_name": {
"type": "string"
},
"command_chain": {
"items": {
"type": "string"
},
"type": "array"
},
"common_id": {
"type": "string"
},
"completer": {
"type": "string"
},
"daemon": {
"type": "string"
},
"desktop": {
"type": "string"
},
"environment": {
"type": "object"
},
"extensions": {
"items": {
"type": "string"
},
"type": "array"
},
"install_mode": {
"type": "string"
},
"passthrough": {
"type": "object"
},
"plugs": {
"items": {
"type": "string"
},
"type": "array"
},
"post_stop_command": {
"type": "string"
},
"refresh_mode": {
"type": "string"
},
"reload_command": {
"type": "string"
},
"restart_condition": {
"type": "string"
},
"restart_delay": {
"type": "string"
},
"slots": {
"items": {
"type": "string"
},
"type": "array"
},
"sockets": {
"type": "object"
},
"start_timeout": {
"type": "string"
},
"stop_command": {
"type": "string"
},
"stop_mode": {
"type": "string"
},
"stop_timeout": {
"type": "string"
},
"timer": {
"type": "string"
},
"watchdog_timeout": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"command"
]
},
"SnapcraftExtraFiles": {
"properties": {
"source": {
"type": "string"
},
"destination": {
"type": "string"
},
"mode": {
"type": "integer"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"source"
]
},
"SnapcraftLayoutMetadata": {
"properties": {
"symlink": {
"type": "string"
},
"bind": {
"type": "string"
},
"bind_file": {
"type": "string"
},
"type": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"Snapshot": {
"properties": {
"name_template": {
"type": "string"
},
"version_template": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"Source": {
"properties": {
"name_template": {
"type": "string"
},
"format": {
"type": "string",
"enum": [
"tar",
"tgz",
"tar.gz",
"zip"
],
"default": "tar.gz"
},
"enabled": {
"type": "boolean"
},
"prefix_template": {
"type": "string"
},
"files": {
"items": {
"$ref": "#/$defs/File"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"StringArray": {
"oneOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"Teams": {
"properties": {
"enabled": {
"type": "boolean"
},
"title_template": {
"type": "string"
},
"message_template": {
"type": "string"
},
"color": {
"type": "string"
},
"icon_url": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"Telegram": {
"properties": {
"enabled": {
"type": "boolean"
},
"message_template": {
"type": "string"
},
"chat_id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"parse_mode": {
"type": "string",
"enum": [
"MarkdownV2",
"HTML"
],
"default": "MarkdownV2"
}
},
"additionalProperties": false,
"type": "object"
},
"Twitter": {
"properties": {
"enabled": {
"type": "boolean"
},
"message_template": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"UPX": {
"properties": {
"enabled": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"ids": {
"items": {
"type": "string"
},
"type": "array"
},
"goos": {
"items": {
"type": "string"
},
"type": "array"
},
"goarch": {
"items": {
"type": "string"
},
"type": "array"
},
"goarm": {
"items": {
"type": "string"
},
"type": "array"
},
"goamd64": {
"items": {
"type": "string"
},
"type": "array"
},
"binary": {
"type": "string"
},
"compress": {
"type": "string",
"enum": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"best",
""
],
"default": ""
},
"lzma": {
"type": "boolean"
},
"brute": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object"
},
"UniversalBinary": {
"properties": {
"id": {
"type": "string"
},
"ids": {
"items": {
"type": "string"
},
"type": "array"
},
"name_template": {
"type": "string"
},
"replace": {
"type": "boolean"
},
"hooks": {
"$ref": "#/$defs/BuildHookConfig"
},
"mod_timestamp": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"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"
},
"checksum_header": {
"type": "string"
},
"client_x509_cert": {
"type": "string"
},
"client_x509_key": {
"type": "string"
},
"trusted_certificates": {
"type": "string"
},
"checksum": {
"type": "boolean"
},
"signature": {
"type": "boolean"
},
"meta": {
"type": "boolean"
},
"custom_artifact_name": {
"type": "boolean"
},
"custom_headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"extra_files": {
"items": {
"$ref": "#/$defs/ExtraFile"
},
"type": "array"
},
"extra_files_only": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object"
},
"Webhook": {
"properties": {
"enabled": {
"type": "boolean"
},
"skip_tls_verify": {
"type": "boolean"
},
"message_template": {
"type": "string"
},
"endpoint_url": {
"type": "string"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"content_type": {
"type": "string"
},
"expected_status_codes": {
"items": {
"type": "integer"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"Winget": {
"properties": {
"name": {
"type": "string"
},
"package_identifier": {
"type": "string"
},
"publisher": {
"type": "string"
},
"publisher_url": {
"type": "string"
},
"publisher_support_url": {
"type": "string"
},
"copyright": {
"type": "string"
},
"copyright_url": {
"type": "string"
},
"author": {
"type": "string"
},
"path": {
"type": "string"
},
"repository": {
"$ref": "#/$defs/RepoRef"
},
"commit_author": {
"$ref": "#/$defs/CommitAuthor"
},
"commit_msg_template": {
"type": "string"
},
"ids": {
"items": {
"type": "string"
},
"type": "array"
},
"goamd64": {
"type": "string"
},
"skip_upload": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"url_template": {
"type": "string"
},
"short_description": {
"type": "string"
},
"description": {
"type": "string"
},
"homepage": {
"type": "string"
},
"license": {
"type": "string"
},
"license_url": {
"type": "string"
},
"release_notes": {
"type": "string"
},
"release_notes_url": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"dependencies": {
"items": {
"$ref": "#/$defs/WingetDependency"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"publisher",
"repository",
"short_description",
"license"
]
},
"WingetDependency": {
"properties": {
"package_identifier": {
"type": "string"
},
"minimum_version": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"package_identifier"
]
}
},
"description": "goreleaser configuration definition file"
}