<commit_before>machine:
  node:
    version: 7
dependencies:
  override:
    - sudo apt-get install jq
    - npm install
    - npm run build
test:
  override:
    - npm test
deployment:
  production:
    branch: master
    commands:
      - git tag v`jq -r '.version' package.json`
      - git push origin --tags<commit_msg>Prevent publishing when version is not bumped<commit_after>machine:
  node:
    version: 7
dependencies:
  override:
    - npm install -g json js-yaml
    - npm install
    - npm run build
test:
  override:
    - npm test
deployment:
  production:
    branch: master
    commands:
      - if [ "$(git describe --abbrev=0 --tags)" = "v$(json -f package.json version)" ]; then exit 0; fi
      - git tag v`json -f package.json version`
      - git push origin --tags
{'fraction_non_alphanumeric': 0.10279187817258884, 'fraction_numerical': 0.005076142131979695, 'mean_word_length': 2.343220338983051, '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': '4682831', 'n_tokens_mistral': 260, 'n_tokens_neox': 243, 'n_words': 87}