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

Milestones on PRs not taken into account #457

Closed
Turbo87 opened this issue Nov 28, 2016 · 4 comments
Closed

Milestones on PRs not taken into account #457

Turbo87 opened this issue Nov 28, 2016 · 4 comments

Comments

@Turbo87
Copy link

Turbo87 commented Nov 28, 2016

I've tried to regenerate the changelog on https://github.com/ember-cli/ember-cli-mocha, but seems to ignore the milestones set on some of the PRs.

e.g. ember-cli/ember-cli-mocha#134 has milestone v0.13.0 but generating the changelog puts it under the v0.12.0 release instead.

$ github_changelog_generator --version
Version: 1.14.1
@Turbo87
Copy link
Author

Turbo87 commented Nov 28, 2016

github_changelog_generator --future-release v0.13.0

and

github_changelog_generator --future-release v0.13.0 --filter-by-milestone

both result in the same and wrong result. Removing the --future-release option also doesn't have any effect aside from changing the future release name as expected.

@Turbo87
Copy link
Author

Turbo87 commented Nov 29, 2016

@olleolleolle I should probably add that the option seems to work fine for issues, but it does not work for PRs

@Turbo87
Copy link
Author

Turbo87 commented Nov 30, 2016

@olleolleolle I have debugged this further and it seems that --future-release is indeed responsible for the problem, or rather it doesn't work as I would expect it.

Milestones are taken into account for all git tags, but the milestone that matches the --future-release isn't. In other words: if you try the changelog generator on the repository linked above it will work right as expected because the v0.13.0 is tagged and released now. If you try it with e.g. a --future-release v0.14.0 and have a v0.14.0 milestone with PRs in it, those PRs might not necessarily be assigned to the correct release by the generator.

@Turbo87 Turbo87 closed this as completed Dec 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants