ember-cli-app-version icon indicating copy to clipboard operation
ember-cli-app-version copied to clipboard

Show the number of additional commits

Open luxzeitlos opened this issue 8 years ago • 2 comments

The image in the README.md shows this information, however in reality its not there. This would be very useful!

luxzeitlos avatar Sep 24 '17 14:09 luxzeitlos

Hi @luxferresum, what do you mean by number of additional commits?

locks avatar Sep 24 '17 21:09 locks

@locks I mean the number of commits since the last tag. Which is part of git describe:

The command finds the most recent tag that is reachable from a commit. If the tag points to the commit, then only the tag is shown. Otherwise, it suffixes the tag name with the number of additional commits on top of the tagged object and the abbreviated object name of the most recent commit.

The image in the README shows the version 1.5.0-5-ga34c8bf. Here the 5 is the number of additional commits. However a recent version of this addon seems to print 1.5.0+ga34c8bf.

I'm not sure if this is a regression or expected. However the information would be very useful!

luxzeitlos avatar Sep 28 '17 18:09 luxzeitlos