[latex3-commits] [l3svn] 02/02: l3build: Use "ExplFileDate" not "ExplFileName" as version marker

noreply at latex-project.org noreply at latex-project.org
Fri Mar 17 15:18:35 CET 2017


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

commit 853259a32fb83c4853feeffe26d5946723ecdeff
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Mar 17 13:46:56 2017 +0000

    l3build: Use "ExplFileDate" not "ExplFileName" as version marker
    
    We don't replace the name: it's the date and version that are
    picked up.
---
 l3build/l3build.dtx |    4 ++--
 l3build/l3build.lua |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/l3build/l3build.dtx b/l3build/l3build.dtx
index b759613..4c32f38 100644
--- a/l3build/l3build.dtx
+++ b/l3build/l3build.dtx
@@ -1016,8 +1016,8 @@
 %     \cs{ProvidesExplFile} identifiers (at the start of a line).
 %   \item |filename| --- Searches for lines using |\def\filename|,
 %     |\def\filedate|, \dots, formulation.
-%   \item |ExplFileName| --- Searches for lines using |\def\ExplFileName|,
-%     |\def\ExplFileDate|, \dots, formulation.
+%   \item |ExplFileDate| --- Searches for lines using |\def\ExplFileDate|,
+%     \dots, formulation.
 % \end{itemize}
 %
 % For more complex cases, the programmer may directly define the
diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index ddc0f5a..9a979ef 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -1958,7 +1958,7 @@ if versionform ~= "" and not setversion_update_line then
       end
       return line
     end
-  elseif versionform == "ExplFileName" then
+  elseif versionform == "ExplFileDate" then
     function setversion_update_line(line, date, release)
       if string.match(line, "^\\def\\ExplFileDate{%d%d%d%d/%d%d/%d%d}$") then
         line = "\\def\\ExplFileDate{" .. string.gsub(date, "%-", "/") .. "}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list