<commit_before>@echo off

goto getVersionNumber
set /p doNpm=Update package.json and push to npm: y or n?
IF "%doNpm%"=="y" GOTO npm 

set /p doGit=Tag and Push to git: y or n?
IF "%doGit%"=="y" GOTO git 

:getVersionNumber
set /p ver=New Version Number or q to quit:
IF "%ver%"=="q" GOTO end
IF "%ver%"=="" GOTO Error 

:git
git tag v%ver%
git push
git push --tags

:npm
npm version %ver%
npm publish

:Error
echo no version number found! 
goto getVersionNumber

:end<commit_msg>update publish<commit_after>@echo off

REM Get version number
set /p ver=New Version Number or q to quit:
IF "%ver%"=="q" GOTO end
IF "%ver%"=="" GOTO Error 

REM update npm with new version and publish
npm version %ver%
npm publish

REM tag and push to origin
git tag v%ver%
git push origin v%ver%

:Error
echo no version number found! 
goto start

:end
{'fraction_non_alphanumeric': 0.11031175059952038, 'fraction_numerical': 0.0, 'mean_word_length': 4.284810126582278, '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': '7002794', 'n_tokens_mistral': 322, 'n_tokens_neox': 293, 'n_words': 133}