<commit_before>#!/bin/bash

if [ "$1" ]; then
	sed 's/public static final String version.*$/public static final String version = "'$1'";/' src/java/axiom/main/Server.java > src/java/axiom/main/Server.java.new
	mv src/java/axiom/main/Server.java.new src/java/axiom/main/Server.java
	bzr commit src/java/axiom/main/Server.java -m "Release $1"
else
	echo usage: release.sh version
fi
<commit_msg>Fixes release.sh<commit_after>#!/bin/bash

if [ "$1" ]; then
	sed -i 's/public static final String version.*$/public static final String version = "'$1'";/' src/java/axiom/main/Server.java
	bzr commit src/java/axiom/main/Server.java -m "Release $1"
else
	echo usage: release.sh version
fi

{'fraction_non_alphanumeric': 0.15835777126099707, 'fraction_numerical': 0.008797653958944282, 'mean_word_length': 4.097014925373134, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '3332745', 'n_tokens_mistral': 253, 'n_tokens_neox': 244, 'n_words': 62}