[latex3-commits] [latex3/xfrac] main: Include README in tagging (142dc25)
github at latex-project.org
github at latex-project.org
Tue Feb 13 20:37:33 CET 2024
Repository : https://github.com/latex3/xfrac
On branch : main
Link : https://github.com/latex3/xfrac/commit/142dc25735b1fd3a999bc25d09a6b32d8f0d26b4
>---------------------------------------------------------------
commit 142dc25735b1fd3a999bc25d09a6b32d8f0d26b4
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Feb 13 19:37:16 2024 +0000
Include README in tagging
>---------------------------------------------------------------
142dc25735b1fd3a999bc25d09a6b32d8f0d26b4
build.lua | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/build.lua b/build.lua
index 0853619..cd15dd3 100644
--- a/build.lua
+++ b/build.lua
@@ -6,7 +6,7 @@ module = "xfrac"
-- Detail how to set the version automatically
-tagfiles = {"*.dtx","CHANGELOG.md"}
+tagfiles = {"*.dtx","*.md"}
function update_tag(file,content,tagname,tagdate)
local iso = "%d%d%d%d%-%d%d%-%d%d"
@@ -23,6 +23,8 @@ function update_tag(file,content,tagname,tagdate)
iso .. "%.%.%.HEAD",
tagname .. "...HEAD\n[" .. tagname .. "]: " .. url .. previous
.. "..." .. tagname)
+ elseif string.match(file,"README.md") then
+ return string.gsub(content,"Release " .. iso,"Release " .. tagname)
else
-- xfrac.dtx
content = string.gsub(content,
More information about the latex3-commits
mailing list.