<commit_before>#!/usr/bin/env bash

LEVEL=$1
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )";

cd ${DIR};

npm version $LEVEL;
npm run-script doc;
npm run-script gallery;
./deploy.sh $LEVEL;
if [ "$LEVEL" = "prerelease" ]; then
	npm publish --tag next;
else
	npm publish;
fi<commit_msg>release script fix<commit_after>#!/usr/bin/env bash

LEVEL=$1
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )";

cd ${DIR};

npm version $LEVEL;
npm run-script doc;
npm run-script gallery;
./deploy.sh $LEVEL;
cd ../${DIR};
if [ "$LEVEL" = "prerelease" ]; then
	npm publish --tag next;
else
	npm publish;
fi
{'fraction_non_alphanumeric': 0.20593080724876442, 'fraction_numerical': 0.006589785831960461, 'mean_word_length': 4.241379310344827, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6770545', 'n_tokens_mistral': 250, 'n_tokens_neox': 224, 'n_words': 69}