mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-25 11:55:47 -06:00
fix(release): use available GitHub CLI for notes
This commit is contained in:
@@ -222,7 +222,7 @@ function gitIsAncestor(base, target) {
|
||||
function fetchGithubApi(args) {
|
||||
try {
|
||||
return JSON.parse(
|
||||
run("ghx", ["api", ...args], { env: { GHX_NO_CACHE: "1" } }).replace(
|
||||
run(process.env.OPENCLAW_RELEASE_GITHUB_CLI || "gh", ["api", ...args]).replace(
|
||||
/\u001B\[[0-?]*[ -/]*[@-~]/g,
|
||||
"",
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user