We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4f3064 commit cf55451Copy full SHA for cf55451
.github/workflows/update-schemas.yml
@@ -38,7 +38,14 @@ jobs:
38
run: cargo run --bin export_schema
39
40
- name: Move new schemas into ./_data
41
- run: cp ./c2pa-rs/target/schema/* ./_data/
+ run: |
42
+ # We also rename the schemas to have an underscore in the filename instead of a dot to fix
43
+ # compatibility issues with Ruby/Jekyll.
44
+ for path in ./c2pa-rs/target/schema/*.schema.json; do
45
+ name=$(basename "$path")
46
+ new=${name/.schema/_schema}
47
+ cp "$path" "./_data/$new"
48
+ done
49
50
- name: Check schemas for diff
51
id: diffs
0 commit comments