diff options
author | Karl Berry <karl@freefriends.org> | 2020-02-04 22:19:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-02-04 22:19:11 +0000 |
commit | c4f9025af51074274f379c8470324c4e7839780a (patch) | |
tree | 103414c2372bc6eec1de2306f3c248f45d394ef6 /Master/texmf-dist/scripts/l3build/l3build-upload.lua | |
parent | ae7de6a5194241c4f284dcb79422e325b2f3e8ca (diff) |
l3 (4feb20)
git-svn-id: svn://tug.org/texlive/trunk@53673 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/l3build/l3build-upload.lua')
-rw-r--r-- | Master/texmf-dist/scripts/l3build/l3build-upload.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/l3build/l3build-upload.lua b/Master/texmf-dist/scripts/l3build/l3build-upload.lua index de1899ad2cb..257cce61a37 100644 --- a/Master/texmf-dist/scripts/l3build/l3build-upload.lua +++ b/Master/texmf-dist/scripts/l3build/l3build-upload.lua @@ -276,7 +276,11 @@ function ctan_single_field(fname,fvalue,max,desc,mandatory) if (fvalue==nil or type(fvalue)~="table") then local vs=trim_space(tostring(fvalue)) if (mandatory==true and (fvalue == nil or vs=="")) then - error("The field " .. fname .. " must contain " .. desc) + if (fname=="announcement") then + print("Empty announcement: No ctan announcement will be made") + else + error("The field " .. fname .. " must contain " .. desc) + end end if (fvalue ~=nil and len(vs) > 0) then if (max > 0 and len(vs) > max) then |