<commit_before>#!/bin/sh
old_tag=`git describe | sed 's/-g.*//'`
echo Old tag is $old_tag
echo New tag?
read new_tag
echo "$new_tag" >> Changelog.new
git log --pretty=short $old_tag..HEAD | git shortlog >> Changelog.new
cat Changelog >> Changelog.new
mv Changelog.new Changelog
git commit -m 'Release '$new_tag Changelog
git tag -a -m $new_tag $new_tag<commit_msg>Update release tools<commit_after>#!/bin/sh
old_tag=`git describe | sed 's/-.*//'`
echo Old tag is $old_tag
echo New tag?
read new_tag
echo "$new_tag" >> Changelog.new
git log --pretty=short $old_tag..HEAD | git shortlog >> Changelog.new
cat Changelog >> Changelog.new
mv Changelog.new Changelog
git commit -m 'Release '$new_tag Changelog
git tag -a -m $new_tag $new_tag
{'fraction_non_alphanumeric': 0.1335149863760218, 'fraction_numerical': 0.0, 'mean_word_length': 4.526315789473684, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '857196', 'n_tokens_mistral': 280, 'n_tokens_neox': 271, 'n_words': 87}