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

Tags without own commits gettings wrong dates #162

Closed
TimoStahl opened this issue Apr 23, 2020 · 1 comment
Closed

Tags without own commits gettings wrong dates #162

TimoStahl opened this issue Apr 23, 2020 · 1 comment

Comments

@TimoStahl
Copy link

Hey @cookpete,
thanks for this nice package.

Actual behaviour

Tags without own commits getting wrong dates.

Expected behaviour

Tags without commits should display the correct dates.

Steps to reproduce

  1. commit things
  2. tag v1.0.9-rc
  3. tag v1.0.9 without new commits

Screenshots

image

image

Configuration

auto-changelog@2.0.0

@cookpete
Copy link
Owner

This should be fixed in 2.1.0. Previously it was using the date of the first commit in that release. For releases without commits (like in your example) it was falling back to the current date. It now grabs the date of each tag instead.

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