[latex3-commits] [git/LaTeX3-latex3-latex2e] master: Allow for -dev release of PR0 (see #214) (6c788824)
Joseph Wright
joseph.wright at morningstar2.co.uk
Sat Nov 16 08:19:03 CET 2019
Repository : https://github.com/latex3/latex2e
On branch : master
Link : https://github.com/latex3/latex2e/commit/6c788824e85b345b91c6589bcdb132372865806a
>---------------------------------------------------------------
commit 6c788824e85b345b91c6589bcdb132372865806a
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.
>---------------------------------------------------------------
6c788824e85b345b91c6589bcdb132372865806a
build-config.lua | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/build-config.lua b/build-config.lua
index bcea0550..8b64b6e0 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -94,11 +94,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"
@@ -146,11 +147,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