<commit_before>#!/bin/bash
set -e # exit with non-zero exit code if there are failures

F_VERSION=$1

echo "setting global bot config"
git config --global user.email <EMAIL>
git config --global user.name formly-bot

echo "setting remote"
git remote set-url github https://formly-bot:${BOT_GH_TOKEN}@github.com/formly-js/angular-formly.git >/dev/null 2>/dev/null

echo "merging master"
git merge github/master -m "master merge" -X theirs >/dev/null 2>/dev/null

echo "adding dist"
git add dist package.json

echo "committing with $F_VERSION"
git commit -m $F_VERSION --no-verify

echo "tagging with v$F_VERSION"
git tag v${F_VERSION} -f

echo "pushing"
git push github latest --tags -f >/dev/null 2>/dev/null

echo "done!"
<commit_msg>fix(build): not hiding stuf<commit_after>#!/bin/bash
set -e # exit with non-zero exit code if there are failures

F_VERSION=$1

echo "setting global bot config"
git config --global user.email <EMAIL>
git config --global user.name formly-bot

echo "setting remote"
git remote set-url github https://formly-bot:${BOT_GH_TOKEN}@github.com/formly-js/angular-formly.git

echo "merging master"
git merge github/master -m "master merge" -X theirs

echo "adding dist"
git add dist package.json

echo "committing with $F_VERSION"
git commit -m $F_VERSION --no-verify

echo "tagging with v$F_VERSION"
git tag v${F_VERSION} -f

echo "pushing"
git push github latest --tags -f

echo "done!"

{'fraction_non_alphanumeric': 0.11960368011323426, 'fraction_numerical': 0.003538570417551309, 'mean_word_length': 4.237037037037037, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 2, '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': '3188183', 'n_tokens_mistral': 501, 'n_tokens_neox': 485, 'n_words': 171}