[latex3-commits] [latex3/luaotfload] dev: Allow getting upload options from environment (d031de0f)
github at latex-project.org
github at latex-project.org
Sun Feb 18 01:27:50 CET 2024
Repository : https://github.com/latex3/luaotfload
On branch : dev
Link : https://github.com/latex3/luaotfload/commit/d031de0fda03ffb0937e974a3d6ff0fa1a736d03
>---------------------------------------------------------------
commit d031de0fda03ffb0937e974a3d6ff0fa1a736d03
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Sun Feb 18 01:27:50 2024 +0100
Allow getting upload options from environment
>---------------------------------------------------------------
d031de0fda03ffb0937e974a3d6ff0fa1a736d03
build.lua | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/build.lua b/build.lua
index 2f056f15..db86acbd 100644
--- a/build.lua
+++ b/build.lua
@@ -10,12 +10,13 @@ tdsroot = "luatex"
-- load my personal data for the ctan upload
local ok, mydata = pcall(require, "ulrikefischerdata.lua")
if not ok then
- mydata= {email="XXX",github="XXX",name="XXX"}
+ mydata = {
+ email = os.getenv'CTAN_EMAIL' or 'XXX',
+ name = os.getenv'CTAN_NAME' or 'XXX',
+ name = "XXX",
+ }
end
--- test the email
-print(mydata.email)
-
-- Allow for 'dev' release
--
-- See https://docs.github.com/en/actions/learn-github-actions/environment-variables
More information about the latex3-commits
mailing list.