forward port #1142

This commit is contained in:
henderkes
2026-05-16 19:16:24 +07:00
parent 4b19f4ec95
commit 07aae79cae
2 changed files with 3 additions and 2 deletions

View File

@@ -108,7 +108,7 @@ class go_xcaddy
'GOROOT' => "{$target_path}",
'GOBIN' => "{$target_path}/bin",
'GOPATH' => "{$target_path}/go",
])->exec('CGO_ENABLED=0 go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest');
])->exec('CGO_ENABLED=0 go install github.com/caddyserver/xcaddy/cmd/xcaddy@master');
GlobalEnvManager::addPathIfNotExists("{$target_path}/bin");
}
}