diff --git a/tasks/docs.js b/tasks/docs.js index d7b8a17..00392dd 100644 --- a/tasks/docs.js +++ b/tasks/docs.js @@ -65,6 +65,7 @@ module.exports = function (grunt) { if (contains(items, c)) { throw new Error('Duplicate id:' + c.id); } + c.tag = grunt.config.get('pkg.version') items.push(c); });