<commit_before># Releasing new versions

This assumes that you have a `~/.gradle/gradle.properties` similar to that listed at the end of this document.

1. Bump the VERSION_NAME in gradle.properties to a non-SNAPSHOT version and VERSION_CODE to the next integer value.
2. git add gradle.properties && git commit -m 'Releasing version X.Y.Z' && git tag 'VERSION-X.Y.Z'
3. ./gradlew clean build uploadArchives
4. Bump the VERSION_NAME in gradle.properties to the next SNAPSHOT version and VERSION_CODE to the next integer value.
5. git add gradle.properties && git commit -m 'Version bump'
6. Log in to https://oss.sonatype.org/ and promote the release.

## ~/.gradle/gradle.properties

signing.keyId=YOUR_KEY_ID
signing.password=<PASSWORD>
signing.secretKeyRingFile=/path/to/.gnupg/secring.gpg
NEXUS_USERNAME=YOUR_NEXUS_USERNAME
NEXUS_PASSWORD=<PASSWORD>US_PASSWORD<commit_msg>Corrects formatting in release directions<commit_after># Releasing new versions

This assumes that you have a `~/.gradle/gradle.properties` similar to that listed at the end of this document.

1. Bump the VERSION_NAME in gradle.properties to a non-SNAPSHOT version and VERSION_CODE to the next integer value.
2. `git add gradle.properties && git commit -m 'Releasing version X.Y.Z' && git tag 'VERSION-X.Y.Z'`
3. `./gradlew clean build uploadArchives`
4. Bump the VERSION_NAME in gradle.properties to the next SNAPSHOT version and VERSION_CODE to the next integer value.
5. `git add gradle.properties && git commit -m 'Version bump'`
6. Log in to https://oss.sonatype.org/ and promote the release.

## ~/.gradle/gradle.properties

signing.keyId=YOUR_KEY_ID  
signing.password=<PASSWORD>  
signing.secretKeyRingFile=/path/to/.gnupg/secring.gpg  
NEXUS_USERNAME=YOUR_NEXUS_USERNAME  
NEXUS_PASSWORD=<PASSWORD>US_PASSWORD
{'fraction_non_alphanumeric': 0.0903010033444816, 'fraction_numerical': 0.006688963210702341, 'mean_word_length': 4.698412698412699, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '2674352', 'n_tokens_mistral': 608, 'n_tokens_neox': 597, 'n_words': 199}