Skip to content

required min. version of git #196

Closed
Closed
@patrickp-at-work

Description

@patrickp-at-work

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

Activity

patrickp-at-work

patrickp-at-work commented on Apr 6, 2021

@patrickp-at-work
Author

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

cookpete

cookpete commented on Apr 6, 2021

@cookpete
Owner

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @cookpete@patrickp-at-work

        Issue actions

          required min. version of git · Issue #196 · cookpete/auto-changelog