<commit_before>#!/bin/bash
set -eo pipefail

cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"

versions=( */ )
versions=( "${versions[@]%/}" )

downloadable="$(curl -sSL 'https://www.elastic.co/downloads/past-releases' | sed -rn 's!.*?/downloads/past-releases/(kibana-)?[0-9]+-[0-9]+-[0-9]+">Kibana ([0-9]+\.[0-9]+\.[0-9]+)<.*!\2!gp')"

travisEnv=
for version in "${versions[@]}"; do
	fullVersion="$(echo "$downloadable" | grep -m1 "^$version")"<commit_msg>Use less HTML scraping in "update.sh"<commit_after>#!/bin/bash
set -eo pipefail

cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"

versions=( */ )
versions=( "${versions[@]%/}" )

tags="$(git ls-remote --tags https://github.com/elastic/kibana.git | cut -d/ -f3 | cut -d^ -f1 | cut -dv -f2 | grep -vE 'milestone|-beta|-m' | sort -rV)"

travisEnv=
for version in "${versions[@]}"; do
	fullVersion="$(echo "$tags" | grep -m1 "^$version.")"
{'fraction_non_alphanumeric': 0.2738496071829405, 'fraction_numerical': 0.020202020202020204, 'mean_word_length': 4.439024390243903, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1711575', 'n_tokens_mistral': 381, 'n_tokens_neox': 349, 'n_words': 75}