[latex3-commits] [git/LaTeX3-latex3-graphics-def] main: Drop 'dev' release support (934210b)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Apr 20 08:13:50 CEST 2022


Repository : https://github.com/latex3/graphics-def
On branch  : main
Link       : https://github.com/latex3/graphics-def/commit/934210b4bb6d03e73fbbad0b1fcad1b192cdb292

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

commit 934210b4bb6d03e73fbbad0b1fcad1b192cdb292
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Apr 20 07:13:50 2022 +0100

    Drop 'dev' release support
    
    This was out of date anyway.


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

934210b4bb6d03e73fbbad0b1fcad1b192cdb292
 build.lua | 25 -------------------------
 1 file changed, 25 deletions(-)

diff --git a/build.lua b/build.lua
index d9b0711..d588a1c 100644
--- a/build.lua
+++ b/build.lua
@@ -21,28 +21,3 @@ specialformats["latex-dev"] = specialformats["latex-dev"] or
   {
      luatex = {binary="luahbtex",format = "lualatex-dev"}
   }
-
--- Allow for 'dev' release
---
--- See stackoverflow.com/a/12142066/212001
--- Also luaotfload build.lua: getting the Travis-CI version right is 'fun'
-do
-  local tag = os.getenv'TRAVIS_TAG'
-  if tag and tag ~= "" then
-    main_branch = not string.match(tag, '^dev-')
-  else
-    local branch = os.getenv'TRAVIS_BRANCH'
-    if not branch then
-      local f = io.popen'git rev-parse --abbrev-ref HEAD'
-      branch = f:read'*a':sub(1,-2)
-      assert(f:close())
-    end
-    main_branch = string.match(branch, '^main')
-  end
-  if not main_branch then
-    tdsroot = "latex-dev"
-    print("Creating/installing dev-version in " .. tdsroot)
-    ctanpkg = "graphics-def-dev"
-    ctanzip = ctanpkg
-  end
-end





More information about the latex3-commits mailing list.