[latex3-commits] [git/LaTeX3-latex3-l3build] ctan-post: remove uploadfile as a documented variable (5f0efce)

Will Robertson wspr81 at gmail.com
Tue Dec 18 01:02:04 CET 2018


Repository : https://github.com/latex3/l3build
On branch  : ctan-post
Link       : https://github.com/latex3/l3build/commit/5f0efcea77ad03800b2cd6cb6600e6e092f265bd

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

commit 5f0efcea77ad03800b2cd6cb6600e6e092f265bd
Author: Will Robertson <wspr81 at gmail.com>
Date:   Tue Dec 18 10:32:04 2018 +1030

    remove uploadfile as a documented variable
    
    keep it internally to (slightly) streamline the code


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

5f0efcea77ad03800b2cd6cb6600e6e092f265bd
 build.lua             |    4 ----
 l3build-upload.lua    |    2 ++
 l3build-variables.lua |    1 -
 l3build.dtx           |    1 -
 4 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/build.lua b/build.lua
index d480a7a..54cc0f0 100644
--- a/build.lua
+++ b/build.lua
@@ -93,10 +93,6 @@ a note
 just to myself
 ]]
 
-uploadfile="l3build.zip"
-
-ctanupload="ask"
-
 
 -- end of ctan upload settings
 
diff --git a/l3build-upload.lua b/l3build-upload.lua
index 0cefec9..cd303f4 100644
--- a/l3build-upload.lua
+++ b/l3build-upload.lua
@@ -58,6 +58,8 @@ local ctanupload = ctanupload or "ask"
 -- if upload is anything else, the user will be prompted whether to upload.
 -- For now, this is undocumented. I think I would prefer to keep it always set to ask for the time being.
 
+local uploadfile = ctanzip..".zip"
+
 function upload()
 
   -- try a sensible default for the package name:
diff --git a/l3build-variables.lua b/l3build-variables.lua
index 4d35cb1..559dc50 100644
--- a/l3build-variables.lua
+++ b/l3build-variables.lua
@@ -189,4 +189,3 @@ manifestfile = manifestfile or "MANIFEST.md"
 -- Upload settings
 curlexe  = curlexe  or "curl"
 uploaddata = uploaddata or {}
-uploadfile = ctanzip..".zip"
diff --git a/l3build.dtx b/l3build.dtx
index a18c4ad..c5205eb 100644
--- a/l3build.dtx
+++ b/l3build.dtx
@@ -152,7 +152,6 @@
 \luavarset{recordstatus}{false}       {Switch to include error level from test runs in \texttt{.tlg} files}
 \luavarset{manifestfile}        {"MANIFEST.md"} {Filename to use for the manifest file}
 \luavarseparator
-\luavarset{uploadfile}{ctanpkg..".zip"}{Filename of the zipped package to upload}
 \luavarset{uploaddata}        {\meta{table}} {Metadata to describe the package for CTAN (see Table~\ref{tab:upload-setup})}
 \luavarset{uploaddata.pkg}{ctanpkg}{Name of the CTAN package}
 \luavarseparator





More information about the latex3-commits mailing list