aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/render-msg.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index b156820..407a963 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -431,6 +431,15 @@ RenderMsg.prototype.gitUpdate = function (cb) {
self.linkify(String(commit.title)),
self.gitCommitBody(commit.body)
)
+ })) : '',
+ Array.isArray(self.c.tags) ?
+ h('ul', self.c.tags.map(function (tag) {
+ return h('li',
+ h('code', String(tag.sha1).substr(0, 8)), ' ',
+ 'tagged ', String(tag.type), ' ',
+ h('code', String(tag.object).substr(0, 8)), ' ',
+ String(tag.tag)
+ )
})) : ''
), cb)
})