[latex3-commits] [git/LaTeX3-latex3-l3build] master: Drop old setversion code (d950e95)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Mar 8 09:25:06 CET 2018


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/d950e95379e087efc53eb6c2feb66248ee0cd986

>---------------------------------------------------------------

commit d950e95379e087efc53eb6c2feb66248ee0cd986
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Mar 8 08:25:06 2018 +0000

    Drop old setversion code


>---------------------------------------------------------------

d950e95379e087efc53eb6c2feb66248ee0cd986
 build.lua |   18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/build.lua b/build.lua
index 809e22e..22e2169 100644
--- a/build.lua
+++ b/build.lua
@@ -43,21 +43,3 @@ function update_tag(file,content,tagname,tagdate)
   return contents
 end
 
-function setversion_update_line(line, date, version)
-  local date = string.gsub(date, "%-", "/")
-  -- .dtx file
-  if string.match(line, "^%% \\date{Released %d%d%d%d/%d%d/%d%d}$") then
-    line = string.gsub(line, "%d%d%d%d/%d%d/%d%d", date)
-  end
-  -- Markdown files
-  if string.match(
-    line, "^Release %d%d%d%d/%d%d/%d%d$"
-  ) then
-    line = "Release " .. date
-  end
-  -- l3build.lua
-  if string.match(line, "^release_date = \"%d%d%d%d/%d%d/%d%d\"$") then
-    line = "release_date = \"" .. date .. "\""
-  end
-  return line
-end





More information about the latex3-commits mailing list