Jim Meyering wrote: > Simon Josefsson wrote: >> Probably a silly question, but when I use this script to produce >> intra-version numbers, how do I make it produce non-intra-version >> numbers? For example when I like to do a release? > > Run git tag -s ... to tag for the release.
I should have said a little more. Given a most recent, reachable tag of "M.N", git-version-gen is a lot like "git describe" in that it prints either: - "M.N" when M.N refers to the head - "M.N.Z-hhhhh" when there have been Z (0 < Z) commits since M.N
