Skip to content

Commit

Permalink
fix: release pipeline (#1053)
Browse files Browse the repository at this point in the history
  • Loading branch information
alnr committed Jan 17, 2023
1 parent 46689fa commit 878089d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Expand Up @@ -115,6 +115,7 @@ jobs:
- uses: ory/ci/sdk/release@master
with:
token: ${{ secrets.ORY_BOT_PAT }}
swag-spec-location: spec/swagger.json

release:
name: Generate release
Expand Down
37 changes: 33 additions & 4 deletions .schema/version.schema.json
@@ -1,9 +1,37 @@
{
"$id": "https://github.com/ory/oathkeeper/.schema/versions.config.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "All Versions of the ORY Oathkeeper Configuration",
"type": "object",
"oneOf": [
{
"allOf": [
{
"properties": {
"version": {
"const": "v0.40.1"
}
},
"required": ["version"]
},
{
"$ref": "https://raw.githubusercontent.com/ory/oathkeeper/v0.40.1/spec/config.schema.json"
}
]
},
{
"allOf": [
{
"properties": {
"version": {
"const": "v0.40.0"
}
},
"required": ["version"]
},
{
"$ref": "https://raw.githubusercontent.com/ory/oathkeeper/v0.40.0/spec/config.schema.json"
}
]
},
{
"allOf": [
{
Expand Down Expand Up @@ -125,7 +153,6 @@
]
},
{
"description": "This is the fallback to the latest version (the first one in this schema) in case no version is specified.",
"allOf": [
{
"oneOf": [
Expand Down Expand Up @@ -153,5 +180,7 @@
}
]
}
]
],
"title": "All Versions of the ORY Oathkeeper Configuration",
"type": "object"
}

0 comments on commit 878089d

Please sign in to comment.