<commit_before>#!/bin/bash

if [ -z $bamboo_ci_app_version ]; then
  echo "No version-number found: ${bamboo_ci_app_version}"
  exit 1
else
  GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
  echo "Found version-number: ${bamboo_ci_app_version}"

  git config user.email "<EMAIL>"
  git config user.name "jenkins@seu"

  git add --all
  git commit -m "[${bamboo_ci_app_version}] version update"

  git status

  git tag $bamboo_ci_app_version
  git remote add github $bamboo_planRepository_repositoryUrl
  GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git pull --rebase github $bamboo_planRepository_branch
  git config push.default simple
  GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git push github $bamboo_planRepository_branch
fi<commit_msg>[ci] updated push version number script<commit_after>#!/bin/bash

if [ -z $bamboo_ci_app_version ]; then
  echo "No version-number found: ${bamboo_ci_app_version}"
  exit 1
else
  GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
  echo "Found version-number: ${bamboo_ci_app_version}"

  git config user.email "<EMAIL>"
  git config user.name "jenkins@seu"
  git config push.default simple

  git add --all :/
  git commit -m "[${bamboo_ci_app_version}] version update"

  git status
  git pull --rebase
  git push

  git tag $bamboo_ci_app_version
  git pull --rebase
  git push --tags


  # git remote add github $bamboo_planRepository_repositoryUrl
  # GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git pull --rebase github $bamboo_planRepository_branch
  # GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git push github $bamboo_planRepository_branch
fi
{'fraction_non_alphanumeric': 0.09426681367144432, 'fraction_numerical': 0.0011025358324145535, 'mean_word_length': 5.009933774834437, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5619846', 'n_tokens_mistral': 677, 'n_tokens_neox': 625, 'n_words': 161}