<commit_before>#!/usr/bin/env bash

set -e

mvn scm:check-local-modification

# release
mvn versions:set
git add pom.xml */pom.xml
git commit
mvn clean deploy -P release
mvn scm:tag

# next development version
mvn versions:set
git add pom.xml */pom.xml
git commit<commit_msg>Switched to silent release script<commit_after>#!/bin/sh -e

: ${2?"Usage: $0 <release-version> <next-version>"}

mvn scm:check-local-modification

# release
mvn versions:set -D newVersion=$1
git add pom.xml
git commit -m "Release $1"
mvn clean deploy -P release
mvn scm:tag

# next development version
mvn versions:set -D newVersion=$2-SNAPSHOT
git add pom.xml
git commit -m "Development $2-SNAPSHOT"
{'fraction_non_alphanumeric': 0.11242603550295859, 'fraction_numerical': 0.008875739644970414, 'mean_word_length': 4.595041322314049, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4345914', 'n_tokens_mistral': 251, 'n_tokens_neox': 246, 'n_words': 79}