Skip to content

Commit

Permalink
fix: version schema (#1359)
Browse files Browse the repository at this point in the history
Closes #1331
Closes #1101

This fixes the config schema paths in the version.schema.json to reflect the new path since we use go embed.

See also ory/hydra#2427

The CI was also updated to include the new schema path.
  • Loading branch information
zepatrik committed May 18, 2021
1 parent 35eee2a commit 8c4bac7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ workflows:
tags:
only: /.*/
- goreleaser/render-version-schema:
schema-path: driver/config/.schema/config.schema.json
requires:
- goreleaser/release
filters:
Expand Down
10 changes: 5 additions & 5 deletions .schema/version.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
}
},
{
"$ref": "https://raw.githubusercontent.com/ory/kratos/v0.6.0-alpha.1/.schema/config.schema.json"
"$ref": "https://raw.githubusercontent.com/ory/kratos/v0.6.0-alpha.1/driver/config/.schema/config.schema.json"
}
]
},
Expand All @@ -140,7 +140,7 @@
}
},
{
"$ref": "https://raw.githubusercontent.com/ory/kratos/v0.6.0-alpha.2/.schema/config.schema.json"
"$ref": "https://raw.githubusercontent.com/ory/kratos/v0.6.0-alpha.2/driver/config/.schema/config.schema.json"
}
]
},
Expand All @@ -154,7 +154,7 @@
}
},
{
"$ref": "https://raw.githubusercontent.com/ory/kratos/v0.6.1-alpha.1/.schema/config.schema.json"
"$ref": "https://raw.githubusercontent.com/ory/kratos/v0.6.1-alpha.1/driver/config/.schema/config.schema.json"
}
]
},
Expand All @@ -168,7 +168,7 @@
}
},
{
"$ref": "https://raw.githubusercontent.com/ory/kratos/v0.6.2-alpha.1/.schema/config.schema.json"
"$ref": "https://raw.githubusercontent.com/ory/kratos/v0.6.2-alpha.1/driver/config/.schema/config.schema.json"
}
]
},
Expand All @@ -182,7 +182,7 @@
}
},
{
"$ref": "https://raw.githubusercontent.com/ory/kratos/v0.6.3-alpha.1/.schema/config.schema.json"
"$ref": "https://raw.githubusercontent.com/ory/kratos/v0.6.3-alpha.1/driver/config/.schema/config.schema.json"
}
]
}
Expand Down

0 comments on commit 8c4bac7

Please sign in to comment.