alexellis / derek

Reduce maintainer fatigue by automating GitHub
https://github.com/alexellis/derek/blob/master/USER_GUIDE.md
MIT License
806 stars 72 forks source link

Remove pre-releases from release_notes #186

Open rgee0 opened 2 years ago

rgee0 commented 2 years ago

Currently in draft as need to consider the effect in generation of release notes for a pre-release. As proposed, this would be cumulative over a number of pre-releases as prerelease is only consider when finding the previous release, so each pre-release will be considered against the previous full release.

Signed-off-by: Richard Gee richard@technologee.co.uk

Description

Initially the release notes were being generated from the current tagged release (n) and the n-1 release, irrespective of whether n-1 was a full release. This change causes getWorkingReleases() to ignore any previous releases where PreRelease is set to true. The processing beyond this determination will continue to consider all commits between the two identified points, resulting in a fuller set of changes for a full release where Pre-Releases have occurred in between.

Motivation and Context

Closes #184

How Has This Been Tested?

TBC

Types of changes

Checklist: