2 local from
, tover
= ...
3 if not from
or not tover
then
4 print("Format: prepareNextRelease.lua <from-tag> <tover-tag>")
8 local f
= assert(io
.open("docs/ReleaseNotes-" .. tover
.. ".txt", "w"))
9 local headLine
= "luajson v" .. tover
.. " Release Notes"
10 f
:write(headLine
, "\n", ("="):rep(#headLine
), "\n\n")
16 Plans for next release
17 ----------------------
20 local tailLine
= "Updates since " .. from
21 f
:write(tailLine
, "\n", ("="):rep(#tailLine
), "\n\n")
23 local data
= assert(io
.popen("git shortlog " .. from
.. "..HEAD | util/processShortlog.lua", "r"))
24 local tail
= data
:read("*a")