[latex3-commits] [git/LaTeX3-latex3-l3build] master: Automatically Git tag releases (35e05fd)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Mar 8 09:28:43 CET 2018


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/35e05fdeeeee296a157b791c0d379ba6e913bf24

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

commit 35e05fdeeeee296a157b791c0d379ba6e913bf24
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Mar 8 08:28:43 2018 +0000

    Automatically Git tag releases
    
    This is something of an experiment!


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

35e05fdeeeee296a157b791c0d379ba6e913bf24
 build.lua |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/build.lua b/build.lua
index 22e2169..e296a33 100644
--- a/build.lua
+++ b/build.lua
@@ -43,3 +43,7 @@ function update_tag(file,content,tagname,tagdate)
   return contents
 end
 
+function tag_hook(tagname)
+  os.execute('git commit -a -m "Step release tag"')
+  os.execute('git tag -a -m "" ' .. tagname)
+end





More information about the latex3-commits mailing list