<commit_before>#!/bin/sh

set -eu

mkdir -p hugo-site/data

meta4-repo filter --format=json file://$PWD/artifacts/ssoca-final > hugo-site/data/releaseArtifacts.json

(
  cd repo

  echo 'dates:'
  echo '  v0.8.0: 2018-01-07 22:40:00 -0800' # lightweight tag; manual, pre-CI<commit_msg>ci: fix stale concourse resource for docs tags lookup<commit_after>#!/bin/sh

set -eu

mkdir -p hugo-site/data

meta4-repo filter --format=json file://$PWD/artifacts/ssoca-final > hugo-site/data/releaseArtifacts.json

(
  cd repo
  git fetch --tags $( git remote get-url origin | sed 's#<EMAIL>:#https://github.com/#' ) # avoid stale concourse resource caches

  echo 'dates:'
  echo '  v0.8.0: 2018-01-07 22:40:00 -0800' # lightweight tag; manual, pre-CI
{'fraction_non_alphanumeric': 0.15135135135135136, 'fraction_numerical': 0.05945945945945946, 'mean_word_length': 3.574074074074074, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, 'https://': 1, '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': '6790085', 'n_tokens_mistral': 313, 'n_tokens_neox': 277, 'n_words': 69}