github.com/goreleaser/goreleaser@v1.25.1/www/docs/customization/index.md (about) 1 # Customization 2 3 GoReleaser can be customized by tweaking a `.goreleaser.yaml` file. 4 5 You can generate an example config by running 6 [`goreleaser init`](/cmd/goreleaser_init/) or start from scratch. 7 8 You can also check if your config is valid by running 9 [`goreleaser check`](/cmd/goreleaser_check/), which will tell you if are using 10 deprecated or invalid options. 11 12 ## JSON Schema 13 14 GoReleaser also has a [jsonschema][] file, which you can use to have better 15 editor support: 16 17 === "OSS" 18 19 ```sh 20 https://goreleaser.com/static/schema.json 21 ``` 22 23 You can also specify it in your `.goreleaser.yml` config file by adding a 24 comment like the following: 25 ```yaml 26 # yaml-language-server: $schema=https://goreleaser.com/static/schema.json 27 ``` 28 29 === "Pro" 30 31 ```sh 32 https://goreleaser.com/static/schema-pro.json 33 ``` 34 35 You can also specify it in your `.goreleaser.yml` config file by adding a 36 comment like the following: 37 ```yaml 38 # yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json 39 ``` 40 41 You can also generate it for your specific version using the 42 [`goreleaser jsonschema`][schema] command. 43 44 ### Pin the schema version 45 46 You can pin the version by getting the schema from the GitHub tag, for example, 47 for v1.12.0: 48 49 === "OSS" 50 51 ```sh 52 https://raw.githubusercontent.com/goreleaser/goreleaser/v1.12.0/www/docs/static/schema.json 53 ``` 54 55 === "Pro" 56 57 ```sh 58 https://raw.githubusercontent.com/goreleaser/goreleaser/v1.12.0/www/docs/static/schema-pro.json 59 ``` 60 61 [jsonschema]: http://json-schema.org/draft/2020-12/json-schema-validation.html 62 [schema]: /cmd/goreleaser_jsonschema/