Skip to content

Commit

Permalink
docs: instruct how to use a pinned version of the jsonschema
Browse files Browse the repository at this point in the history
closes #3495
  • Loading branch information
caarlos0 committed Nov 3, 2022
1 parent 9c75073 commit b6e5b87
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions www/docs/customization/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit b6e5b87

Please sign in to comment.