[latex3-commits] [git/LaTeX3-latex3-l3build] master: access email from git config, perhaps should have a wrapper function to provide easier interface for that (d5ec2d9)
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/d5ec2d905a06126203b78dc2e388847a8a20d106
>---------------------------------------------------------------
commit d5ec2d905a06126203b78dc2e388847a8a20d106
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
>---------------------------------------------------------------
d5ec2d905a06126203b78dc2e388847a8a20d106
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