<commit_before><commit_msg>Add publishing script<commit_after>#!/bin/bash

VERSIONS=$@

echo "Publishing versions $VERSIONS"

sed -i .bak -e 's/version := "\(.*\)-SNAPSHOT"/version := "\1"/' build.sbt

for V in $VERSIONS
do
    sed -i .bak -e 's/scalaVersion := .*/scalaVersion := "'$V'"/' build.sbt
    sbt test publish
done

git co build.sbt

rm build.sbt.bak
{'fraction_non_alphanumeric': 0.18005540166204986, 'fraction_numerical': 0.002770083102493075, 'mean_word_length': 3.4691358024691357, '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': '54624', 'n_tokens_mistral': 147, 'n_tokens_neox': 141, 'n_words': 38}