<commit_before>#!/bin/sh

set -e

README_FILE=`mktemp '/tmp/README.XXXXXX'`
NEWS_FILE=`mktemp '/tmp/NEWS.XXXXXX'`

asciidoc -s -o $README_FILE README
asciidoc -s -o $NEWS_FILE NEWS
git checkout gh-pages
cat index.html.in $README_FILE > index.html
echo "</div></body></html>" >> index.html
cat news.html.in $NEWS_FILE > news.html
echo "</div></body></html>" >> news.html
rm $README_FILE
git add index.html
git commit -m "updated page with new README"
git add news.html
git commit -m "updated page with new release notes"
git checkout master
<commit_msg>no -e for homepage build<commit_after>#!/bin/sh

README_FILE=`mktemp '/tmp/README.XXXXXX'`
NEWS_FILE=`mktemp '/tmp/NEWS.XXXXXX'`

asciidoc -s -o $README_FILE README
asciidoc -s -o $NEWS_FILE NEWS
git checkout gh-pages
cat index.html.in $README_FILE > index.html
echo "</div></body></html>" >> index.html
cat news.html.in $NEWS_FILE > news.html
echo "</div></body></html>" >> news.html
rm $README_FILE
git add index.html
git commit -m "updated page with new README"
git add news.html
git commit -m "updated page with new release notes"
git checkout master

{'fraction_non_alphanumeric': 0.14092140921409213, 'fraction_numerical': 0.0, 'mean_word_length': 4.431372549019608, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 27, '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': '302246', 'n_tokens_mistral': 418, 'n_tokens_neox': 402, 'n_words': 126}