[latex3-commits] [git/LaTeX3-latex3-latex2e] main: s/master/main/g (cab541fb)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Mar 16 18:42:52 CET 2021
Repository : https://github.com/latex3/latex2e
On branch : main
Link : https://github.com/latex3/latex2e/commit/cab541fb239fa7c1e1c5a118ee1b32456e9d161c
>---------------------------------------------------------------
commit cab541fb239fa7c1e1c5a118ee1b32456e9d161c
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Mar 16 17:28:38 2021 +0000
s/master/main/g
>---------------------------------------------------------------
cab541fb239fa7c1e1c5a118ee1b32456e9d161c
build-config.lua | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/build-config.lua b/build-config.lua
index 49e666ea..4235aff7 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -72,7 +72,7 @@ end
do
local tag = os.getenv'TRAVIS_TAG'
if tag and tag ~= "" then
- master_branch = not string.match(tag, '^dev-')
+ main_branch = not string.match(tag, '^dev-')
else
local branch = os.getenv'TRAVIS_BRANCH'
if not branch then
@@ -80,9 +80,9 @@ do
branch = f:read'*a':sub(1,-2)
assert(f:close())
end
- master_branch = string.match(branch, '^master')
+ main_branch = string.match(branch, '^main')
end
- if not master_branch then
+ if not main_branch then
tdsroot = "latex-dev"
print("Creating/installing dev-version in " .. tdsroot)
ctanpkg = ctanpkg or ""
@@ -117,7 +117,7 @@ function update_tag(file,content,tagname,tagdate)
tag = tagname
end
local patch_level = ""
- if master_branch then
+ if main_branch then
if rev then
tag = tag .. " patch level " .. rev
patch_level = rev
@@ -169,7 +169,7 @@ function update_tag_ltx(file,content,tagname,tagdate)
if not tag then
tag = tagname
end
- if master_branch then
+ if main_branch then
if rev then
tag = tag .. " patch level " .. rev
end
More information about the latex3-commits
mailing list.