<commit_before>#!/bin/sh

#Check if need testing before release

echo Do you want run test before release [yes/no]?
read test

if [ "$test" == "y" ] || [ "$test" == "yes" ] ; then
  gulp test
fi

#Version input
echo Type release version:?
read version

if [ "$version" = "" ]; then
     echo "Error! Version is empty"
     exit 1
fi

#Start release preparation
gulp dist
git commit -a -m "Prepare dist for release $version"
npm version $version
git push origin master $version<commit_msg>Prepare dist for release 0.4.7<commit_after>#!/bin/sh

#Check if need testing before release

echo Do you want run test before release [yes/no]?
read test

if [ "$test" == "y" ] || [ "$test" == "yes" ] ; then
  gulp test
fi

#Version input
echo Type release version:?
read version

if [ "$version" = "" ]; then
     echo "Error! Version is empty"
     exit 1
fi

#Start release
gulp dist
git commit -a -m "Prepare dist for release $version"
npm version $version
git push origin "$version"
{'fraction_non_alphanumeric': 0.11885245901639344, 'fraction_numerical': 0.005122950819672131, 'mean_word_length': 3.674641148325359, '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': '851848', 'n_tokens_mistral': 320, 'n_tokens_neox': 312, 'n_words': 137}