<commit_before>#!/bin/bash
set -e
if [ $# -eq 0 ]; then
    echo "Usage: ./release.sh <VERSION> <GIT_USERNAME> <GIT_PASSWORD>"
    exit 1
fi
VERSION=$1
GIT_USERNAME=$2
GIT_PASSWORD=$3
DRY_RUN=false
git pull
mvn release:clean
mvn -B release:prepare -DreleaseVersion=$VERSION -DautoVersionSubmodules=true -Dtag=$VERSION -DdryRun=$DRY_RUN
mvn release:perform -Darguments='-Drisky.repo=amsa-maven -Dmode=test -Drisky.repo.url=http://sardevc.amsa.gov.au:8081/artifactory/libs-releases-local' -DdryRun=$DRY_RUN -Dusername=$GIT_USERNAME -Dpassword=$<PASSWORD><commit_msg>update poms<commit_after>#!/bin/bash
set -e
if [ $# -eq 0 ]; then
    echo "Usage: ./release.sh <VERSION> <GIT_USERNAME> <GIT_PASSWORD>"
    exit 1
fi
VERSION=$1
GIT_USERNAME=$2
GIT_PASSWORD=$3
DRY_RUN=false
git pull
mvn release:clean
mvn -B release:prepare -DreleaseVersion=$VERSION -DautoVersionSubmodules=true -Dtag=$VERSION -DdryRun=$DRY_RUN
mvn release:perform -X -Darguments='-Drisky.repo=amsa-maven -Dmode=test -Drisky.repo.url=http://sardevc.amsa.gov.au:8081/artifactory/libs-releases-local' -DdryRun=$DRY_RUN -Dusername=$GIT_USERNAME -Dpassword=$<PASSWORD>
{'fraction_non_alphanumeric': 0.14968999114260406, 'fraction_numerical': 0.015943312666076175, 'mean_word_length': 5.807228915662651, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '4345916', 'n_tokens_mistral': 468, 'n_tokens_neox': 443, 'n_words': 79}