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

buildversion=`grep version /vagrant/src/composer.json | cut -d ',' -f1 | cut -d'"' -f4`
currentBranch=`git rev-parse --abbrev-ref HEAD`
nextVersion=$1

if [ -z ${nextVersion} ]; then
    echo -n "Current Version ${buildversion} on ${currentBranch} branch: Enter the next version and press [ENTER]: "
    read nextVersion
fi

echo "**************************************"
echo "Current Branch: $currentBranch"
echo "Current Version: $buildversion"
echo "Next Version: $nextVersion"
echo "**************************************"
replace "${buildversion}" "${nextVersion}" -- /vagrant/src/composer.json
echo "**************************************"
<commit_msg>added upgrade.json hint<commit_after>#!/usr/bin/env bash

buildversion=`grep version /vagrant/src/composer.json | cut -d ',' -f1 | cut -d'"' -f4`
currentBranch=`git rev-parse --abbrev-ref HEAD`
nextVersion=$1

if [ -z ${nextVersion} ]; then
    echo -n "Current Version ${buildversion} on ${currentBranch} branch: Enter the next version and press [ENTER]: "
    read nextVersion
fi

echo "**************************************"
echo "Current Branch: $currentBranch"
echo "Current Version: $buildversion"
echo "Next Version: $nextVersion"
echo "**************************************"
replace "${buildversion}" "${nextVersion}" -- /vagrant/src/composer.json
echo "**************************************"
echo "Update src/mysql/upgrade.json to add the following"
echo ","
echo "  \"current\" : {"
echo "    \"versions\": ["
echo "     \"${buildversion}\""
echo "    ],"
echo "    \"scripts\": ["
echo "    ],"
echo "    \"dbVersion\": \"${nextVersion}\""
echo "  }"
echo "**************************************"
{'fraction_non_alphanumeric': 0.3022300469483568, 'fraction_numerical': 0.0035211267605633804, 'mean_word_length': 5.067615658362989, 'pattern_counts': {'":': 3, '<': 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': '5794618', 'n_tokens_mistral': 504, 'n_tokens_neox': 488, 'n_words': 139}