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

required min. version of git #196

Closed
patrickp-at-work opened this issue Feb 15, 2021 · 2 comments
Closed

required min. version of git #196

patrickp-at-work opened this issue Feb 15, 2021 · 2 comments

Comments

@patrickp-at-work
Copy link

I've run auto-changelog successfully and then on Jenkins, it failed to parse the releases. Turns out, Jenkins was using an old version of git (1.8). auto-changelog claims to be running on git >= 1.7.2. After upgrade to newer git, the issue was resolved.

How the library gathers release tags:
See line 9

const tags = (await cmd(`git tag -l --sort=-creatordate --format=${format}`))

git tag -l --sort=-creatordate --format=${format}

A colleague gave me the hint that

creatordate applicable for git versions above 2.7.6.
Reference Links:
https://git-scm.com/docs/git-tag
https://git-scm.com/docs/git-for-each-ref/

You may want to update the README accordingly

@patrickp-at-work
Copy link
Author

Hello @cookpete, is this project still maintained by you?

@cookpete
Copy link
Owner

cookpete commented Apr 6, 2021

It is. I just have very little time to commit to open source stuff at the moment. Sorting out this and react-player is on my (ever growing) list of things I want to get to.

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