<commit_before>#!/bin/bash
#
## by <NAME>
## (c) 2014 MadeiraCloud LTD.
#

DEFAULT_TAG="v2015-02-27"

# get tag
echo "Input the tag you want to publish [${DEFAULT_TAG}]"
read TAG

# set default
if [ "$TAG" = "" ]; then
    TAG=$DEFAULT_TAG
fi

# merge develop
git checkout master
git pull origin master
git merge develop
git push origin master

# delete old tag
if [ "$(git tag | grep $TAG)" != "" ]; then
    git tag -d $TAG
    git push origin :refs/tags/$TAG
fi

# create new tag
git tag -a $TAG -m "$TAG"
git push origin $TAG<commit_msg>change default tag<commit_after>#!/bin/bash
#
## by <NAME>
## (c) 2014 MadeiraCloud LTD.
#

DEFAULT_TAG="v2015-03-26"

# get tag
echo "Input the tag you want to publish [${DEFAULT_TAG}]"
read TAG

# set default
if [ "$TAG" = "" ]; then
    TAG=$DEFAULT_TAG
fi

# merge develop
git checkout master
git pull origin master
git merge develop
git push origin master

# delete old tag
if [ "$(git tag | grep $TAG)" != "" ]; then
    git tag -d $TAG
    git push origin :refs/tags/$TAG
fi

# create new tag
git tag -a $TAG -m "$TAG"
git push origin $TAG
{'fraction_non_alphanumeric': 0.1343146274149034, 'fraction_numerical': 0.02207911683532659, 'mean_word_length': 3.477366255144033, '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': '5160464', 'n_tokens_mistral': 409, 'n_tokens_neox': 374, 'n_words': 151}