Commit c95e148e authored by Vlad Dumitru's avatar Vlad Dumitru
Browse files

add test-seed.sh

parent d420de8b
......@@ -24,7 +24,7 @@ for bundle in $(find $ROOT_PATH/* -type d); do
JSON=$($TORT_EXE extract "$textgrid" "$tier")
KEY="$DESTINATION_KEY/$BUNDLE_NAME/$TEXTGRID_NAME/$tier"
UUID=$($TORT_EXE uuid)
DOC=$(echo "$JSON" | $TORT_EXE wrap "$KEY" -t conversational)
DOC=$(echo "$JSON" | $TORT_EXE wrap "$KEY" -t "conversational,spk:$tier")
ROOT=$(echo "$DOC" | $TORT_EXE persist $UUID --root $DB_PATH)
VERSION=$($TORT_EXE commit --root $DB_PATH $UUID "$ROOT" -c "initial seed")
$TORT_EXE tag --root $DB_PATH $UUID latest $VERSION
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment