[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Allow for -dev release of PR0 (see #214) (608b852f)
Joseph Wright
joseph.wright at morningstar2.co.uk
Sat Nov 16 08:19:52 CET 2019
Repository : https://github.com/latex3/latex2e
On branch : develop
Link : https://github.com/latex3/latex2e/commit/608b852f6aff1bb04acdc301b47088d0e7bd62be
>---------------------------------------------------------------
commit 608b852f6aff1bb04acdc301b47088d0e7bd62be
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Sat Nov 16 07:19:03 2019 +0000
Allow for -dev release of PR0 (see #214)
This way, "PR0" just tags as for a master release.
>---------------------------------------------------------------
608b852f6aff1bb04acdc301b47088d0e7bd62be
build-config.lua | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/build-config.lua b/build-config.lua
index 8bd9633a..e666cc49 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -113,11 +113,12 @@ function update_tag(file,content,tagname,tagdate)
if rev then
tag = tag .. " patch level " .. rev
patch_level = rev
+ else
+ patch_level = "0"
end
else
- tag = tag .. " pre-release "
if rev then
- tag = tag .. rev
+ tag = tag .. " pre-release " .. rev
patch_level = "-" .. rev
else
patch_level = "0"
@@ -165,11 +166,8 @@ function update_tag_ltx(file,content,tagname,tagdate)
tag = tag .. " patch level " .. rev
end
else
- tag = tag .. " pre-release "
if rev then
- tag = tag .. rev
- else
- patch_level = "0"
+ tag = tag .. " pre-release " .. rev
end
end
return string.gsub(content,
More information about the latex3-commits
mailing list