Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate releases between date range #13

Open
nbish11 opened this issue Jun 30, 2018 · 0 comments
Open

Generate releases between date range #13

nbish11 opened this issue Jun 30, 2018 · 0 comments

Comments

@nbish11
Copy link
Contributor

nbish11 commented Jun 30, 2018

It would be nice to generate a changelog within certain date ranges. It would be highly useful when using GitHub Release Notes as well. I was thinking of implementing it like so:

// generate changelog with all releases (current functionality)
$changelog->generate();

// generate changelog with all releases after 2 September 2017
$changelog->generate(new DateTime('2017-09-02'));

// generate changelog with all releases up to 5 November 2017
$changelog->generate(null, new DateTime('2017-11-05'));

// generate changelog with all releases between 2 September 2017 and 4 May 2018
$changelog->generate(new DateTime('2017-09-02'), new DateTime('2018-05-04'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants