Skip to content

Non-linear release histories not supported #497

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

Open
codysoyland opened this issue May 11, 2017 · 3 comments
Open

Non-linear release histories not supported #497

codysoyland opened this issue May 11, 2017 · 3 comments
Labels

Comments

@codysoyland
Copy link

I may have missed a flag or something, but this doesn't appear to support release histories that include multiple maintained release branches.

As an example, see the changelog generated for github.com/pilosa/pilosa: https://gist.github.com/codysoyland/703101d5be09fc811cb3f7a6ab8d1e8e

As you can see, we made releases in the following order:

  1. 0.2.4
  2. 0.3.1
  3. 0.2.5
  4. 0.3.2

However, the changelog assumes that each of these releases was an evolution from the previous by order of date. But we are actually maintaining two release branches, a 0.2.x branch and a 0.3.x branch.

In other words, the previous version that is used to generate the change list and diff link should not be the previous tag by date, but the most recent tagged ancestor in git history.

@Slamdunk
Copy link

Totally 👍 for this.

Maybe also related to #256

Supporting two or more branches is common, bugfixes go to the lowest supported branch and then merged in more recent branches, while latest branch keeps getting PR merged in the meantime.

This bug mixes the result that therefore must be manually cleared 😞

@hunner
Copy link
Contributor

hunner commented Apr 12, 2018

#619 fixes this for PR merge detection but doesn't fix it for the generated diff links. Something like #619 (comment) would be needed.

@mvz
Copy link
Contributor

mvz commented Jan 2, 2024

It is unclear to me what the desired result is. Should new changes in the 0.2.x series even appear in the 0.3.x changelog? If not, the --release-branch option introduced in #305 should help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants