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

set -e -x

mkdir out

dev_version=`cat dev-version/number`

cd bosh-warden-cpi-release

# todo remove installation
gem install bosh_cli --no-ri --no-rdoc

bosh -n create release --version $dev_version --with-tarball

mv dev_releases/bosh-warden-cpi/*.tgz ../out/<commit_msg>run unit tests before building release<commit_after>#!/usr/bin/env bash

set -e -x

mkdir out

dev_version=`cat dev-version/number`

cd bosh-warden-cpi-release

source .envrc

./src/github.com/cppforlife/bosh-warden-cpi/bin/test

# todo remove installation
gem install bosh_cli --no-ri --no-rdoc

bosh -n create release --version $dev_version --with-tarball

mv dev_releases/bosh-warden-cpi/*.tgz ../out/
{'fraction_non_alphanumeric': 0.1330532212885154, 'fraction_numerical': 0.0, 'mean_word_length': 3.5833333333333335, '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': '874797', 'n_tokens_mistral': 283, 'n_tokens_neox': 266, 'n_words': 65}