Explorar o código

add persistent directory for rolling builds texlive location (#28563)

GitOrigin-RevId: ea131bc99f27be32055d40a92a967f524f29d02d
Jimmy Domagala-Tang hai 10 meses
pai
achega
ed8da26479
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      services/clsi/app/js/DockerRunner.js

+ 3 - 1
services/clsi/app/js/DockerRunner.js

@@ -230,7 +230,9 @@ const DockerRunner = {
     }
     // set the path based on the image year
     const match = image.match(/:([0-9]+)\.[0-9]+/)
-    const year = match ? match[1] : '2014'
+    // the rolling build does not follow our <year>.<version>.<patch> convention
+    const year = match ? match[1] : 'rolling'
+
     env.PATH = `/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/texlive/${year}/bin/x86_64-linux/`
     const options = {
       Cmd: command,