Gren has several usages that you can have combiningall options.
HelpShow the general help of the gren tool
grengren --helpgren -hVersionShow the using version
gren --versiongren -vGet help for the release options
gren help releaseManual repo infosRun gren outside of the project folder.
gren release --username=REPO_USER --repo=REPO_NAMEOverride an existing releaseBy default,gren won’t override an existing release and it will flagSkipping 4.0.0 (use --override to replace it). If you want to override, as it suggests, use:
gren release --overrideCreate release notes for a specific tagCreate release notes from the commits or issues closed for the specified tag and the one before.
gren release --tags=4.0.0Create release notes from the commits or the issues between two specified tags.
gren release --tags=4.0.0..3.0.0Create release notes for all the tagsCreate release notes for all the tags in the repository.
gren release --tags=allIgnore the tags including an Array of strings
gren release --tags=all --ignore-tags-with="-rc","-alpha","-beta"Work with milestonesCreate release notes for a tag using the belonging to a milestone that matches the name of the tag. e.g. If the tag is 4.0.0,gren is going to match the milestone“Release 4.0.0”.
gren release --data-source=milestones --milestone-match="Release {{tag_name}}"Otherwise, you can just filter the issues that belong toa milestone
gren release --only-milestonesUse commit messagesGenerate release notes based on commit messages
gren release --data-source=commitsCustom changelogCreate a changelog with a custom filename
gren changelog --generate --override --changelog-filename=RELEASE_NOTES.md