diff --git a/.circleci/config.yml b/.circleci/config.yml index ec89364c2..c5eea80cc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2.1 orbs: sdk: ory/sdk@0.1.36 changelog: ory/changelog@0.1.2 - goreleaser: ory/goreleaser@0.1.13 + goreleaser: ory/goreleaser@0.1.17 slack: circleci/slack@3.4.2 nancy: ory/nancy@0.0.10 docs: ory/docs@0.0.4 @@ -123,6 +123,12 @@ workflows: ignore: /.*/ tags: only: /.*/ + - goreleaser/render-version-schema: + requires: + - goreleaser/release + filters: + tags: + only: /.*/ - goreleaser/newsletter-draft: chimp-list: f605a41b53 diff --git a/.goreleaser.yml b/.goreleaser.yml index 832f91bcd..b6b1d3b98 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -54,7 +54,7 @@ changelog: brews: - - github: + tap: owner: ory name: homebrew-keto homepage: https://www.ory.sh diff --git a/.schema/config.schema.json b/.schema/config.schema.json index 049f6de67..57af83e02 100644 --- a/.schema/config.schema.json +++ b/.schema/config.schema.json @@ -368,6 +368,12 @@ } } } + }, + "version": { + "type": "string", + "title": "The Keto version this config is written for.", + "description": "SemVer according to https://semver.org/ prefixed with `v` as in our releases.", + "pattern": "^v(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$" } } } \ No newline at end of file diff --git a/.schema/version.schema.json b/.schema/version.schema.json new file mode 100644 index 000000000..b1f6ab8f3 --- /dev/null +++ b/.schema/version.schema.json @@ -0,0 +1,7 @@ +{ + "$id": "https://github.com/ory/keto/.schema/versions.config.schema.json", + "$schema": "https://raw.githubusercontent.com/ory/cli/v0.0.21/.schema/version_meta.schema.json#", + "title": "All Versions of the ORY Keto Configuration", + "type": "object", + "oneOf": [] +}