<commit_before># This script creates git tags for RenderToolbox3 releases and pushes them to GitHub.
#
# It will only work if you have permission to push to the RenderToolbox3 repositories.
#
# If you are making a RenderToolbox3 release, you should copy this script and edit it
# with values like your local doxygen path, and the version RenderToolbox3 that you
# are releasing.
#
# If nothing else, this script should document how to do a RenderToolbox3 release.
#

# edit these to match your local system
RTB_VERSION="v1.2"
RTB_REPO="<EMAIL>:DavidBrainard/RenderToolbox3.git"
RTB_WIKI="<EMAIL>:DavidBrainard/RenderToolbox3.wiki.git"
DOXYGEN="/Applications/Doxygen.app/Contents/Resources/doxygen" 
WORKING_FOLDER="/Users/ben/RenderToolbox3-release-temp"

mkdir $WORKING_FOLDER

### make a tag for the RenderToolbox3 master branch
echo
echo "Tagging RenderToolbox3 $RTB_VERSION"
echo

cd $WORKING_FOLDER
git clone $RTB_REPO
cd RenderToolbox3
git pull
git checkout master
git tag --force -a $RTB_VERSION -m "tag for RenderToolbox3 version $RTB_VERSION"
git push origin
git push origin --tags --force

### generate fresh doxygen documentation based on master branch, stored in gh-pages branch
echo
echo "Regenerating Doxygen docs"
echo

cd $WORKING_FOLDER
cp -r RenderToolbox3 RenderToolbox3-gh-pages
cd RenderToolbox3-gh-pages<commit_msg>Prepare to release version 2.0<commit_after># This script creates git tags for RenderToolbox3 releases and pushes them to GitHub.
#
# It will only work if you have permission to push to the RenderToolbox3 repositories.
#
# If you are making a RenderToolbox3 release, you should copy this script and edit it
# with values like your local doxygen path, and the version RenderToolbox3 that you
# are releasing.
#
# If nothing else, this script should document how to do a RenderToolbox3 release.
#

# edit these to match your local system
RTB_VERSION="v2.0"
RTB_REPO="<EMAIL>:DavidBrainard/RenderToolbox3.git"
RTB_WIKI="<EMAIL>:DavidBrainard/RenderToolbox3.wiki.git"
DOXYGEN="/Applications/Doxygen.app/Contents/Resources/doxygen" 
WORKING_FOLDER="/Users/ben/RenderToolbox3-release-temp"

mkdir $WORKING_FOLDER

### make a tag for the RenderToolbox3 master branch
echo
echo "Tagging RenderToolbox3 $RTB_VERSION"
echo

cd $WORKING_FOLDER
git clone $RTB_REPO
cd RenderToolbox3
git pull
git checkout master
git tag --force -a $RTB_VERSION -m "tag for RenderToolbox3 version $RTB_VERSION"
git push origin
git push origin --tags --force

### generate fresh doxygen documentation based on master branch, stored in gh-pages branch
echo
echo "Regenerating Doxygen docs"
echo

cd $WORKING_FOLDER
cp -r RenderToolbox3 RenderToolbox3-gh-pages
cd RenderToolbox3-gh-pages
{'fraction_non_alphanumeric': 0.0694908955778521, 'fraction_numerical': 0.013377926421404682, 'mean_word_length': 5.349056603773585, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2970036', 'n_tokens_mistral': 863, 'n_tokens_neox': 861, 'n_words': 315}