[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Set up to install "latex-next" unless on master (f620306)
Joseph Wright
joseph.wright at morningstar2.co.uk
Sun Mar 10 09:22:09 CET 2019
Repository : https://github.com/latex3/latex2e
On branch : develop
Link : https://github.com/latex3/latex2e/commit/f6203065089aa8fa330ec679a164e1bd54503d5f
>---------------------------------------------------------------
commit f6203065089aa8fa330ec679a164e1bd54503d5f
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Sun Mar 10 08:22:09 2019 +0000
Set up to install "latex-next" unless on master
>---------------------------------------------------------------
f6203065089aa8fa330ec679a164e1bd54503d5f
build-config.lua | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/build-config.lua b/build-config.lua
index 6e66355..0ecfca2 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -27,4 +27,9 @@ if unpacksearch == nil then
unpacksearch = false
end
-
+-- Allow for 'next' release
+-- See stackoverflow.com/a/12142066/212001
+local branch = os.execute("git rev-parse --abbrev-ref HEAD") or ""
+if branch ~= "master" then
+ tdsroot = tdsroot or "latex-next"
+end
More information about the latex3-commits
mailing list