<commit_before>import test from 'testit';
import octoRelease from '../src';

test('upload a new release', () => {
  const time = (new Date()).toISOString();
  console.log(time);
  return octoRelease(process.env.GITHUB_TOKEN, 'scriptit', 'octo-release', {
    tag: time.replace(/\:/g, ''),<commit_msg>Prevent infinite cycle of builds<commit_after>import test from 'testit';
import octoRelease from '../src';

if (process.env.TRAVIS_TAG) {
  console.log('Refusing to build a tag');
  process.exit(0);
}
test('upload a new release', () => {
  const time = (new Date()).toISOString();
  console.log(time);
  return octoRelease(process.env.GITHUB_TOKEN, 'scriptit', 'octo-release', {
    tag: time.replace(/\:/g, ''),
{'fraction_non_alphanumeric': 0.1853932584269663, 'fraction_numerical': 0.0014044943820224719, 'mean_word_length': 4.704, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6148611', 'n_tokens_mistral': 243, 'n_tokens_neox': 242, 'n_words': 58}