Commit 6f72340f authored by Adrian L Lange's avatar Adrian L Lange Committed by GitHub

Merge pull request #385 from oUF-wow/fix-changelog

utils: Use ordrered lists for commit messages
parents f7abb6f3 208ad54d
......@@ -29,6 +29,7 @@ local generateLog = function(prevTag, currentTag)
local sf = string.format
local out = {}
local i = 0
ti(out, sf('**Changes in %s:**\n', currentTag))
......@@ -41,8 +42,10 @@ local generateLog = function(prevTag, currentTag)
line = line:sub(7)
end
ti(out, sf(' - %s', line))
i = i + 1
ti(out, sf(' %s. %s', i, line))
elseif(#line ~= 0) then
i = 0
ti(out, sf('- _%s_', line))
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment