feature request: allow substitution of 'git describe' output

Bug #1611222 reported by Scott Moser
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
git-build-recipe
New
Undecided
Unassigned

Bug Description

git describe is quite useful to get an "upstream version"
$ git describe
0.7.6-1034-gb384eb1

That shows that the last annotated tag was 0.7.6 and there are 1034 commits since. The actual commit hash is b38eb1.

That seems quite useful as an upstream version, similar to what bzr revno would provide.

Could we get {git_describe} or some similar thing added to substitution variables?

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

Other bug subscribers

Remote bug watches

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