Skip to content

Commit

Permalink
fix: release issue
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Mar 31, 2023
1 parent 19d289b commit 115da11
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions script/render-schemas.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

set -euxo pipefail

ory_x_version="$(go list -f '{{.Version}}' -m github.com/ory/x)"

sed "s!ory://tracing-config!https://raw.githubusercontent.com/ory/x/$ory_x_version/otelx/config.schema.json!g;" spec/config.json > .schema/config.schema.json

git commit --author="ory-bot <[email protected]>" -m "autogen: render config schema" .schema/config.schema.json || true

0 comments on commit 115da11

Please sign in to comment.