1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

docs: instruct how to use a pinned version of the jsonschema

closes #3495
This commit is contained in:
Carlos A Becker 2022-11-02 22:14:25 -03:00
parent 9c750737b9
commit b6e5b87711
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -39,5 +39,21 @@ editor support:
You can also generate it for your specific version using the
[`goreleaser jsonschema`][schema] command.
### Pin the schema version
You can pin the version by getting the schema from the GitHub tag, for example,
for v1.12.0:
=== "OSS"
```sh
https://raw.githubusercontent.com/goreleaser/goreleaser/v1.12.0/www/docs/static/schema.json
```
=== "Pro"
```sh
https://raw.githubusercontent.com/goreleaser/goreleaser/v1.12.0/www/docs/static/schema-pro.json
```
[jsonschema]: http://json-schema.org/draft/2020-12/json-schema-validation.html
[schema]: /cmd/goreleaser_jsonschema/