[latex3-commits] [git/LaTeX3-latex3-l3build] master: Keep data local properly (558231b)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Dec 21 00:01:17 CET 2018


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/558231b68b5e6f3eea47dd5f9a571b43f3cee53a

>---------------------------------------------------------------

commit 558231b68b5e6f3eea47dd5f9a571b43f3cee53a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Dec 20 22:58:35 2018 +0000

    Keep data local properly


>---------------------------------------------------------------

558231b68b5e6f3eea47dd5f9a571b43f3cee53a
 l3build-upload.lua |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/l3build-upload.lua b/l3build-upload.lua
index f7fb303..d4f385e 100644
--- a/l3build-upload.lua
+++ b/l3build-upload.lua
@@ -79,11 +79,13 @@ function upload(tagnames)
 
   local uploadfile = ctanzip..".zip"
   
+  -- Keep data local
+  local uploadconfig = uploadconfig
+
   -- try a sensible default for the package name:
   uploadconfig.pkg = uploadconfig.pkg or ctanpkg or nil
 
   -- Get data from command line if appropriate
-  local uploadconfig.announcement = uploadconfig.announcement
   if options["file"] then
     local f = open(file)
     uploadconfig.announcement = assert(f:read('*a'))
@@ -91,7 +93,7 @@ function upload(tagnames)
   end
   uploadconfig.announcement = options["message"] or uploadconfig.announcement
 
-  local uploadconfig.version = tagnames[1] or uploadconfig.version
+  uploadconfig.version = tagnames[1] or uploadconfig.version
 
   -- start building the curl command:
   ctan_post = curlexe .. " "





More information about the latex3-commits mailing list