<commit_before>echo "Removendo a pasta node_modules" &&
yarn --silent rimraf node_modules &&
echo "Obtendo alterações" &&
git pull &&
echo "Instalando dependências" &&
yarn install &&
echo "Executando testes" &&
yarn test &&
echo "Obtendo versão e changelog" &&
cp package.json _package.json &&
bump=$(yarn --silent recommended-bump) &&
echo "Parte do SemVer a ser alterada: ${1:-$bump}" &&
npm --no-git-tag-version version ${1:-$bump} &&
yarn rimraf package-lock.json &&
echo "Gerando changelog" &&
yarn --silent changelog &&
git add CHANGELOG.md &&
version=$(yarn --silent json -f package.json version) &&
git commit -m "docs(changelog): v$version" &&
mv -f _package.json package.json &&
echo "Versão: ${3:-$version}" &&
echo "Criando tag no git" &&
npm version ${1:-$bump} -m "chore(release): v%s" &&
yarn rimraf package-lock.json &&
git push --follow-tags &&
echo "Github Release" &&
conventional-github-releaser -p ${2:-$preset}
<commit_msg>chore: add lint in release script<commit_after>echo "Removendo a pasta node_modules" &&
yarn --silent rimraf node_modules &&
echo "Obtendo alterações" &&
git pull &&
echo "Instalando dependências" &&
yarn install &&
echo "Executando testes" &&
yarn lint &&
yarn test &&
echo "Obtendo versão e changelog" &&
cp package.json _package.json &&
bump=$(yarn --silent recommended-bump) &&
echo "Parte do SemVer a ser alterada: ${1:-$bump}" &&
npm --no-git-tag-version version ${1:-$bump} &&
yarn rimraf package-lock.json &&
echo "Gerando changelog" &&
yarn --silent changelog &&
git add CHANGELOG.md &&
version=$(yarn --silent json -f package.json version) &&
git commit -m "docs(changelog): v$version" &&
mv -f _package.json package.json &&
echo "Versão: ${3:-$version}" &&
echo "Criando tag no git" &&
npm version ${1:-$bump} -m "chore(release): v%s" &&
yarn rimraf package-lock.json &&
git push --follow-tags &&
echo "Github Release" &&
conventional-github-releaser -p ${2:-$preset}

{'fraction_non_alphanumeric': 0.16883116883116883, 'fraction_numerical': 0.005194805194805195, 'mean_word_length': 4.68141592920354, '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': '5025934', 'n_tokens_mistral': 697, 'n_tokens_neox': 684, 'n_words': 207}