Giter VIP home page Giter VIP logo

Comments (5)

vaab avatar vaab commented on May 14, 2024

Thanks for your interest.

gitchangelog uses tags set in your git repository (with git tag) as version number. You can filter unwanted tags and select those that should be used for changelog generation thanks to a regular expression (named tag_filter_regexp) that you can modifiy via the config file. (see .gitchangelog.rc). The provided default configuration will use only git tags that follows the convention "X.Y" or "X.Y.Z", with X, Y, and Z being numbers.

gitchangelog will start from current checked out commit (named also HEAD) and go down the history, following first-parent commits in case of merge commits that can have several parents. Whenever it encounters a tagged commit which tag name matches the tag_filter_regexp it'll use it as a version in the final changelog...

Do this answers your questions ? If yes, what part wasn't clear in the README.rst that I could improve ?
If this doesn't answer your question, could you be more specific on what information you try to get ?

NOTE: this answer was updated to try to be more clear. If this answers seems clear enough it'll be integrated in the README.rst

from gitchangelog.

developerinlondon avatar developerinlondon commented on May 14, 2024

ah i see. so it has to be added as (0.1.0) for instance at the end of the commit message to get the version to show up.

from gitchangelog.

vaab avatar vaab commented on May 14, 2024

Nope, please read documentation of git tag. Git changelog use them and won't parse the commit message to find tags.

I've edited my first answer to try to be more specific and clear. Please tell me if this is more clear for you now.

from gitchangelog.

developerinlondon avatar developerinlondon commented on May 14, 2024

ah i see. yes now it makes sense thanks. i just tried adding the v? on the regex and it seems to be working now.

from gitchangelog.

vaab avatar vaab commented on May 14, 2024

You're welcome. Thanks for your feedback.

from gitchangelog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.