<commit_before># groovy-github-changelog-generator
Git &amp; Github Changelog Generator in Groovy

# Requirements
- Your favourite Linux Distro
- Git
- Groovy

# Usage

groovy ChangelogGenerator.groovy TAG_START TAG_END

# Sample Command

- Tested only in Ubuntu Linux.
- You need to set the environment variables: GITHUB_USERNAME and GITHUB_TOKEN and optionally GITHUB_API.
- Github repository is inferred using the first remote available of your git working copy.
- You must run the script under a Git working copy folder, in this case this is a clone of https://github.com/marcelobusico/changelog-testing-repo

groovy PATH_TO_GENERATOR_SCRIPT/ChangelogGenerator.groovy v1.0 v2.0.2

# Sample CHANGELOG.md

## [v2.0.2](https://github.com/marcelobusico/changelog-testing-repo/tree/v2.0.2) (2016-06-23)
[Full Changelog](https://github.com/marcelobusico/changelog-testing-repo/compare/v1.0...v2.0.2)

**Bug fixes:**

- Some fix in rel 2.0 PR [\#9](https://github.com/marcelobusico/changelog-testing-repo/pull/9) ([marcelobusico](https://github.com/marcelobusico))
- Release 2.0 - Fix 1 - PR Title [\#7](https://github.com/marcelobusico/changelog-testing-repo/pull/7) ([marcelobusico](https://github.com/marcelobusico))<commit_msg>Readme updated<commit_after># groovy-github-changelog-generator
Git &amp; Github Changelog Generator in Groovy

# Requirements
- Your favourite Linux Distro
- Git
- Groovy

# Usage

groovy ChangelogGenerator.groovy TAG_START TAG_END [--create-github-release]

# Sample Command

- Tested only in Ubuntu Linux.
- You need to set the environment variables: GITHUB_USERNAME and GITHUB_TOKEN and optionally GITHUB_API.
- Github repository is inferred using the first remote available of your git working copy.
- You must run the script under a Git working copy folder, in this case this is a clone of https://github.com/marcelobusico/changelog-testing-repo
- Optionally you can add at the end of the script the modifier --create-github-release to create a new release in Github using specified tag and generated changelog.

groovy PATH_TO_GENERATOR_SCRIPT/ChangelogGenerator.groovy v1.0 v2.0.2 --create-github-release

# Sample CHANGELOG.md

## [v2.0.2](https://github.com/marcelobusico/changelog-testing-repo/tree/v2.0.2) (2016-06-23)
[Full Changelog](https://github.com/marcelobusico/changelog-testing-repo/compare/v1.0...v2.0.2)

**Bug fixes:**

- Some fix in rel 2.0 PR [\#9](https://github.com/marcelobusico/changelog-testing-repo/pull/9) ([marcelobusico](https://github.com/marcelobusico))
- Release 2.0 - Fix 1 - PR Title [\#7](https://github.com/marcelobusico/changelog-testing-repo/pull/7) ([marcelobusico](https://github.com/marcelobusico))
{'fraction_non_alphanumeric': 0.11747100635989526, 'fraction_numerical': 0.024691358024691357, 'mean_word_length': 4.536231884057971, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 14, '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': '276909', 'n_tokens_mistral': 978, 'n_tokens_neox': 916, 'n_words': 234}