<commit_before>#!/bin/bash

VER=$1
PROJECT=$2

DOTCNT=$(echo $VER | grep -o "\." | wc -l)
if [ "$DOTCNT" -gt 1 ]; then
  PRE="true"
else
  PRE="false"
fi

if [ -z "$PROJECT" ]; then
  echo "Project not specified. Exiting..."
  exit 0
fi

echo Creating a new release: $VER

IFS="." read -a PARTS <<< "$VER"<commit_msg>compatible with semver<commit_after>#!/bin/bash

VER=$1
PROJECT=$2

DOTCNT=$(echo $VER | grep -o "\." | wc -l)
if [ "$DOTCNT" -gt 1 ]; then
  PRE="true"
else
  PRE="false"
  VER="${VER}.0"
fi

if [ -z "$PROJECT" ]; then
  echo "Project not specified. Exiting..."
  exit 0
fi

echo Creating a new release: $VER

IFS="." read -a PARTS <<< "$VER"
{'fraction_non_alphanumeric': 0.2015151515151515, 'fraction_numerical': 0.013636363636363636, 'mean_word_length': 3.210191082802548, 'pattern_counts': {'":': 0, '<': 9, '<?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': '5489235', 'n_tokens_mistral': 284, 'n_tokens_neox': 267, 'n_words': 84}