[latex3-commits] [git/LaTeX3-latex3-l3build] ctan-post: access email from git config, perhaps should have a wrapper function to provide easier interface for that (6d57eb8)
Will Robertson
wspr81 at gmail.com
Fri Dec 7 01:24:41 CET 2018
Repository : https://github.com/latex3/l3build
On branch : ctan-post
Link : https://github.com/latex3/l3build/commit/6d57eb889925a82e791cc779cd7e1772dc3c9ed4
>---------------------------------------------------------------
commit 6d57eb889925a82e791cc779cd7e1772dc3c9ed4
Author: David Carlisle <d.p.carlisle at gmail.com>
Date: Sun Aug 5 09:19:38 2018 +0100
access email from git config, perhaps should have a wrapper function to provide easier interface for that
>---------------------------------------------------------------
6d57eb889925a82e791cc779cd7e1772dc3c9ed4
build.lua | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/build.lua b/build.lua
index 28738c4..ae539ac 100644
--- a/build.lua
+++ b/build.lua
@@ -65,7 +65,17 @@ end
ctan_pkg="l3build"
ctan_version=[[2018/05/20]]
ctan_author=[[latex3 project]]
-ctan_email='me at example.com'
+
+
+-- ctan_email='me at example.com'
+
+-- some people may not want to reveal email in checked in files
+-- email (or other fields) may be set by suitable function, eg
+local handle = io.popen('git config user.email')
+ctan_email = string.gsub(handle:read("*a"),'%s*$','')
+handle:close()
+
+
ctan_uploader=[[me]]
ctan_ctanPath=[[]]
ctan_license="lppl"
More information about the latex3-commits
mailing list