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 164e259 commit 7a7e2c6Copy full SHA for 7a7e2c6
.github/workflows/update-schemas.yml
@@ -47,7 +47,14 @@ jobs:
47
run: cargo run --bin export_schema
48
49
- name: Move new schemas into ./json-manifest-reference/_data
50
- run: cp ./c2pa-rs/target/schema/* ./json-manifest-reference/_data/
+ run: |
51
+ # We also rename the schemas to have an underscore in the filename instead of a dot to fix
52
+ # compatibility issues with Ruby/Jekyll.
53
+ for path in ./c2pa-rs/target/schema/*.schema.json; do
54
+ name=$(basename "$path")
55
+ new=${name/.schema/_schema}
56
+ cp "$path" "./json-manifest-reference/_data/$new"
57
+ done
58
59
- name: Check schemas for diff
60
id: diffs
0 commit comments