Add link to github commit for the spec as per request.

This commit is contained in:
Kegan Dougal 2015-06-02 13:48:52 +01:00
parent 876a3d2bbc
commit ec631c60d4
3 changed files with 11 additions and 5 deletions

View file

@ -10,7 +10,10 @@ class MatrixSections(Sections):
# pass through git ver so it'll be dropped in the input file
def render_git_version(self):
return self.units.get("git_version")
return self.units.get("git_version")["string"]
def render_git_rev(self):
return self.units.get("git_version")["revision"]
def render_spec_version(self):
spec_meta = self.units.get("spec_meta")