substvar for additional commits on top of a tagged object

Bug #1598861 reported by Guillermo Gonzalez
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
git-build-recipe
New
Undecided
Unassigned

Bug Description

Would be nice to have the option to build a version number similar to the output of git describe --always --tags, example:

$ git clone lp:~telegraf-devs/telegraf/+git/telegraf
$ git -C telegraf describe --always --tags
1.0.0-beta2-21-gc046232

1.0.0-beta2-21-gc046232 which is composed by: {latest-tag}-{addiotional-commits}-{git-commit}

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.