File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ archived_version = false
112112# The version number for the version of the docs represented in this doc set.
113113# Used in the "version-banner" partial to display a version number for the
114114# current doc set.
115- version = " v0.4.0 "
115+ version = " v0.4.1 "
116116
117117# A link to latest version of the docs. Used in the "version-banner" partial to
118118# point people to the main doc site.
Original file line number Diff line number Diff line change @@ -29,8 +29,18 @@ for tag in $(git tag); do
2929
3030 # Starting with v0.4 we serve links schemas too
3131 if [[ -d schemas/links ]]; then
32- for schema in schemas/* json; do
33- cp -r " schemas/links/${schema} " " schemas/links/${schema% .* } "
32+ pushd schemas
33+ mkdir " ${TARGET_SCHEMA_FOLDER} /links" || true
34+ for schema in links/* json; do
35+ cp -r " ${schema} " " ${TARGET_SCHEMA_FOLDER} /${schema} "
36+ cp -r " ${schema} " " ${TARGET_SCHEMA_FOLDER} /${schema% .* } "
3437 done
38+ popd
39+ fi
40+
41+ # Starting with v0.4 we serve the custom events schema
42+ if [[ -f custom/schema.json ]]; then
43+ cp custom/schema.json " ${TARGET_SCHEMA_FOLDER} /custom"
44+ cp custom/schema.json " ${TARGET_SCHEMA_FOLDER} /custom.json"
3545 fi
3646done
You can’t perform that action at this time.
0 commit comments