<commit_before>#!/bin/bash

# ensure we're up to date
git pull

# bump version
VERSION=`cat VERSION`-dev
echo "version: ${VERSION}"


docker build \
    --build-arg VERSION=${VERSION} \
    --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
    --build-arg VCS_REF=`git rev-parse HEAD` \
    . -t fredericklab/rapidtide:${VERSION} 
docker push fredericklab/rapidtide:${VERSION}
docker pull fredericklab/rapidtide:${VERSION}<commit_msg>Fixed tagging<commit_after>#!/bin/bash

# ensure we're up to date
git pull

# bump version
VERSION=`cat VERSION | sed 's/+/ /g' | awk '{print $1}'`-dev
BUILD_DATE=`cat DATE`
echo "version: ${VERSION}"
echo "date:    ${BUILD_DATE}"


docker build \
    --build-arg VERSION=${VERSION} \
    --build-arg BUILD_DATE=${BUILD_DATE} \
    --build-arg VCS_REF=`git rev-parse HEAD` \
    . -t fredericklab/rapidtide:${VERSION} 
docker push fredericklab/rapidtide:${VERSION}
docker pull fredericklab/rapidtide:${VERSION}
{'fraction_non_alphanumeric': 0.167192429022082, 'fraction_numerical': 0.0010515247108307045, 'mean_word_length': 4.010526315789473, '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': '5680655', 'n_tokens_mistral': 375, 'n_tokens_neox': 358, 'n_words': 79}