jquery-release icon indicating copy to clipboard operation
jquery-release copied to clipboard

Limit changelog for pre-releases

Open jzaefferer opened this issue 9 years ago • 1 comments
trafficstars

Would be nice if the changelog only included commits from one pre-release to the next, instead of all from the previous stable release to the current pre-release.

jzaefferer avatar Apr 21 '16 15:04 jzaefferer

I think this is just a matter of updating the logic for what the previous version is. Right now for new minor versions, we check for versions in the previous minor family (see https://github.com/jquery/jquery-release/blob/4b207e8d80bce4c1e6462d2ee4d0553a8194e241/lib/repo.js#L181-L185). We can instead search for pre-releases in the new minor family. If we don't find any, fall back to the current logic.

Since pre-releases can exist for any type of release (major, minor, patch), we'd need to implement this logic for each of those.

scottgonzalez avatar Apr 21 '16 15:04 scottgonzalez