<commit_before>#!/bin/bash
set -e

if [ -z $bamboo_ci_app_version ]; then
  echo "No version-number found: ${bamboo_ci_app_version}"
  exit 1
else
  echo "Found version-number: ${bamboo_ci_app_version}"

  remote=origin

  git remote remove $remote

  remote_url=https://$bamboo_git_USER_NAME:$bamboo_git_PASSWORD@github.com/IteraSpeed/OpenSpeedMonitor.git
  echo "set remote $remote to '$remote_url'"
  git remote add -f $remote $remote_url

  git config user.email "<EMAIL>"
  git config user.name "bamboo iteratec"

  git commit -am "[${bamboo_ci_app_version}] version update"
  git tag "${bamboo_ci_app_version}"

  git pull --rebase $remote $bamboo_planRepository_branch
  git push --tags $remote HEAD:refs/heads/$bamboo_repository_git_branch

fi<commit_msg>[CI] push new version commit to github without a tag<commit_after>#!/bin/bash
set -e

if [ -z $bamboo_ci_app_version ]; then
  echo "No version-number found: ${bamboo_ci_app_version}"
  exit 1
else
  echo "Found version-number: ${bamboo_ci_app_version}"

  remote=origin

  git remote remove $remote

  remote_url=https://$bamboo_git_USER_NAME:$bamboo_git_PASSWORD@github.com/IteraSpeed/OpenSpeedMonitor.git
  echo "set remote $remote to '$remote_url'"
  git remote add -f $remote $remote_url

  git config user.email "<EMAIL>"
  git config user.name "bamboo iteratec"

  git commit -am "[${bamboo_ci_app_version}] version update"

  git pull --rebase $remote $bamboo_planRepository_branch
  git push $remote HEAD:refs/heads/$bamboo_repository_git_branch

fi
{'fraction_non_alphanumeric': 0.10453648915187377, 'fraction_numerical': 0.0013149243918474688, 'mean_word_length': 5.0396825396825395, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3511703', 'n_tokens_mistral': 556, 'n_tokens_neox': 508, 'n_words': 136}