<commit_before>#!/bin/bash
set -e

if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
  echo "Pull requests are not released to NPM."
  exit 0
fi

if [[ $TRAVIS_BRANCH == '2.0' ]]; then
  echo "Building the website"
  make site

  echo "Releasing 2.0 alpha"
  npx lerna publish prerelease --dist-tag next --yes

  npm run site:publish<commit_msg>ci(coverage): publish the code coverage report for 2.x<commit_after>#!/bin/bash
set -e

if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
  echo "Pull requests are not released to NPM."
  exit 0
fi

if [[ $TRAVIS_BRANCH == '2.0' ]]; then
  echo "Building the website"
  make site

  echo "Releasing 2.0 alpha"
  npx lerna publish prerelease --dist-tag next --yes

  npm run site:publish
  npm run coverage:publish
{'fraction_non_alphanumeric': 0.12101063829787234, 'fraction_numerical': 0.014627659574468085, 'mean_word_length': 3.536144578313253, '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': '102636', 'n_tokens_mistral': 289, 'n_tokens_neox': 266, 'n_words': 93}