Skip to content
Snippets Groups Projects
Commit f2d48337 authored by Klaus Fischer's avatar Klaus Fischer
Browse files

Changed array definition

parent d7a41e64
No related branches found
No related tags found
1 merge request!5Replace $schema enum by $schema pattern
......@@ -13,8 +13,8 @@ for template in templates/*.json; do
example_name=${template_name%.template}
# Create the example
versions=("1.0.2" "1.0.11" "1.0.0" "1.1.0" "1.5.11")
for version in "${versions[@]}"; do
set -- "1.0.2" "1.0.11" "1.0.0" "1.1.0" "1.5.11"
for version in "$@"; do
cat $template | sed -e "s|SCHEMA_VERSION|$version|g" > ./examples/"$template_name"_"$version".json
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment