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

if [[ $TRAVIS_BRANCH == 'master' ]] && [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
  source travis/extract.sh
  git checkout master
  if [ $# -eq 0 ]; then
    sbt "release with-defaults"
  else
    sbt "release $@"
  fi
else
  echo "Can only build releases on the master branch, cannot trigger with a pull request"
  exit 1<commit_msg>Don't restrict releases to master branch. (hotfixes)<commit_after>#!/usr/bin/env bash

if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
  source travis/extract.sh
  git checkout $TRAVIS_BRANCH
  if [ $# -eq 0 ]; then
    sbt "release with-defaults"
  else
    sbt "release $@"
  fi
else
  echo "Can only build releases on the master branch, cannot trigger with a pull request"
  exit 1
{'fraction_non_alphanumeric': 0.11420982735723771, 'fraction_numerical': 0.005312084993359893, 'mean_word_length': 3.5421686746987953, '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': '6841704', 'n_tokens_mistral': 271, 'n_tokens_neox': 256, 'n_words': 89}