<commit_before>#!/bin/bash -e

. VERSION

docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASSWORD
docker tag docker-rails-onbuild $DOCKER_TAG:latest
docker push $DOCKER_TAG:latest

if ! docker pull $DOCKER_TAG:$VERSION; then
  echo "Releasing new version: $VERSION"

  docker tag docker-rails-onbuild $DOCKER_TAG:$VERSION
  docker push $DOCKER_TAG:$VERSION
else
  echo "Not overwriting existing version: $VERSION"
fi<commit_msg>Don't need email for docker login anymore<commit_after>#!/bin/bash -e

. VERSION

docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
docker tag docker-rails-onbuild $DOCKER_TAG:latest
docker push $DOCKER_TAG:latest

if ! docker pull $DOCKER_TAG:$VERSION; then
  echo "Releasing new version: $VERSION"

  docker tag docker-rails-onbuild $DOCKER_TAG:$VERSION
  docker push $DOCKER_TAG:$VERSION
else
  echo "Not overwriting existing version: $VERSION"
fi
{'fraction_non_alphanumeric': 0.0935738444193912, 'fraction_numerical': 0.0, 'mean_word_length': 5.434782608695652, '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': '2907534', 'n_tokens_mistral': 339, 'n_tokens_neox': 306, 'n_words': 89}