Skip to content

Commit 588e3b1

Browse files
committed
Remove the .json extension from link schemas
Deploy the links schemas so that they match the schema references used in the spec. Signed-off-by: Andrea Frittoli <[email protected]>
1 parent e730588 commit 588e3b1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/build-static.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ for tag in $(git tag); do
2929

3030
# Starting with v0.4 we serve links schemas too
3131
if [[ -d schemas/links ]]; then
32-
cp -r schemas/links "${TARGET_SCHEMA_FOLDER}"
32+
for schema in schemas/*json; do
33+
cp -r "schemas/links/${schema}" "schemas/links/${schema%.*}"
34+
done
3335
fi
3436
done

0 commit comments

Comments
 (0)