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

Incorrect changelog when releasing from a branch #190

Closed
ricardobeat opened this issue Nov 11, 2020 · 1 comment
Closed

Incorrect changelog when releasing from a branch #190

ricardobeat opened this issue Nov 11, 2020 · 1 comment

Comments

@ricardobeat
Copy link

ricardobeat commented Nov 11, 2020

When generating a changelog for a branch, auto-changelog is taking all the tags from the repo and not only the current checked out branch.

  • latest release tag: v2.5.3, on master
  • current branch: v2.4.9-hotfix-1, branched from v2.4.8 tag
yarn auto-changelog
>> [v2.5.3]
>> [v2.5.2]
>> [v2.5.1]
>> [v2.5.0]
>> [v2.4.9-hotfix-1]
>> [v2.4.8]

None of those >= 2.5.0 tags are present in the current branch. Expected:

yarn auto-changelog
>> [v2.4.9-hotfix-1]
>> [v2.4.8]

Specifying the range as yarn auto-changelog --starting-version v2.4.8 --latest-version v2.4.9-hotfix-1 gives the same results.

@morpheus65535
Copy link

Having the same issue. Did you ever found a workaround?

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