feature request: allow substitution of 'git describe' output
Bug #1611222 reported by
Scott Moser
This bug report is a duplicate of:
Bug #1598861: substvar for additional commits on top of a tagged object.
Edit
Remove
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.