From 97f5f87d48a682e8c3bc7fc05a1df30df401e4b7 Mon Sep 17 00:00:00 2001 From: Oleg Semyonov Date: Mon, 22 Oct 2012 19:54:04 +0300 Subject: [PATCH] version-info.py: add ${TAG} variable to the dictionary --- make/scripts/version-info.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/make/scripts/version-info.py b/make/scripts/version-info.py index 63c2531a8..7e7c22d58 100644 --- a/make/scripts/version-info.py +++ b/make/scripts/version-info.py @@ -167,7 +167,7 @@ class Repo: print "hash: ", self.hash() print "short hash: ", self.hash(8) print "branch: ", self.branch() - print "commit tag: ", self.tag() + print "commit tag: ", self.tag('') print "dirty: ", self.dirty('yes', 'no') def file_from_template(tpl_name, out_name, dict): @@ -377,6 +377,7 @@ string given. ORIGIN = r.origin(), HASH = r.hash(), HASH8 = r.hash(8), + TAG = r.tag(''), TAG_OR_BRANCH = r.tag(r.branch('unreleased')), TAG_OR_HASH8 = r.tag(r.hash(8, 'untagged')), DIRTY = r.dirty(),