Skip to content

Commit

Permalink
Remove the .json extension from link schemas
Browse files Browse the repository at this point in the history
Deploy the links schemas so that they match the schema
references used in the spec.

Signed-off-by: Andrea Frittoli <[email protected]>
  • Loading branch information
afrittoli committed May 17, 2024
1 parent e730588 commit 588e3b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/build-static.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ for tag in $(git tag); do

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

0 comments on commit 588e3b1

Please sign in to comment.