[latex3-commits] [git/LaTeX3-latex3-l3build] master: remove uploadfile as a documented variable (1f10ec8)
Will Robertson
will at wspr.io
Tue Dec 18 13:45:20 CET 2018
Repository : https://github.com/latex3/l3build
On branch : master
Link : https://github.com/latex3/l3build/commit/1f10ec89cb97e383eed5267dbbef9ce298a1b004
>---------------------------------------------------------------
commit 1f10ec89cb97e383eed5267dbbef9ce298a1b004
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
>---------------------------------------------------------------
1f10ec89cb97e383eed5267dbbef9ce298a1b004
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 06bfcbe..114f8ac 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