<commit_before>#!/usr/python

import os
from subprocess import call, check_output
ver = check_output([ "python", "version.py", "../apps/Tasks/src/version.h",
	"PROGRAM_VERSION_MAJOR,PROGRAM_VERSION_MINOR,PROGRAM_VERSION_PATCH,PROGRAM_VERSION_BUILD",
	"PROGRAM_VERSION_BUILD"])
VERSION = ver.strip()

call(["git","add","../apps/Tasks/src/version.h"])
call(["git","commit","-m","Build for version %s" % VERSION])
call(["git","tag","tag-build-v%s" % VERSION])<commit_msg>Shortening tag names for nightlies<commit_after>#!/usr/python

import os
from subprocess import call, check_output
ver = check_output([ "python", "version.py", "../apps/Tasks/src/version.h",
	"PROGRAM_VERSION_MAJOR,PROGRAM_VERSION_MINOR,PROGRAM_VERSION_PATCH,PROGRAM_VERSION_BUILD",
	"PROGRAM_VERSION_BUILD"])
VERSION = ver.strip()

call(["git","add","../apps/Tasks/src/version.h"])
call(["git","commit","-m","Build for version %s" % VERSION])
call(["git","tag","v%s" % VERSION])
{'fraction_non_alphanumeric': 0.19852164730728616, 'fraction_numerical': 0.0, 'mean_word_length': 7.697247706422019, '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': '5358286', 'n_tokens_mistral': 348, 'n_tokens_neox': 338, 'n_words': 53}