mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-06-08 00:59:57 +08:00
chore: release v0.8.6 — fix SSH auth in version switch, improve error diagnosis
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "clawpanel"
|
||||
version = "0.8.5"
|
||||
version = "0.8.6"
|
||||
edition = "2021"
|
||||
description = "ClawPanel - OpenClaw 可视化管理面板"
|
||||
authors = ["qingchencloud"]
|
||||
|
||||
@@ -691,6 +691,17 @@ pub async fn upgrade_openclaw(
|
||||
"GIT_SSH_COMMAND",
|
||||
"ssh -o BatchMode=yes -o StrictHostKeyChecking=no",
|
||||
)
|
||||
// Force HTTPS insteadOf via env vars — ensures npm-spawned git subprocesses also use HTTPS
|
||||
// even if global git config didn't take effect (e.g. git not in PATH, or Windows permission issues)
|
||||
.env("GIT_CONFIG_COUNT", "4")
|
||||
.env("GIT_CONFIG_KEY_0", "url.https://github.com/.insteadOf")
|
||||
.env("GIT_CONFIG_VALUE_0", "ssh://git@github.com/")
|
||||
.env("GIT_CONFIG_KEY_1", "url.https://github.com/.insteadOf")
|
||||
.env("GIT_CONFIG_VALUE_1", "git@github.com:")
|
||||
.env("GIT_CONFIG_KEY_2", "url.https://github.com/.insteadOf")
|
||||
.env("GIT_CONFIG_VALUE_2", "git://github.com/")
|
||||
.env("GIT_CONFIG_KEY_3", "url.https://github.com/.insteadOf")
|
||||
.env("GIT_CONFIG_VALUE_3", "git+ssh://git@github.com/")
|
||||
.stdout(Stdio::piped())
|
||||
.stderr(Stdio::piped())
|
||||
.spawn()
|
||||
@@ -750,6 +761,15 @@ pub async fn upgrade_openclaw(
|
||||
"GIT_SSH_COMMAND",
|
||||
"ssh -o BatchMode=yes -o StrictHostKeyChecking=no",
|
||||
)
|
||||
.env("GIT_CONFIG_COUNT", "4")
|
||||
.env("GIT_CONFIG_KEY_0", "url.https://github.com/.insteadOf")
|
||||
.env("GIT_CONFIG_VALUE_0", "ssh://git@github.com/")
|
||||
.env("GIT_CONFIG_KEY_1", "url.https://github.com/.insteadOf")
|
||||
.env("GIT_CONFIG_VALUE_1", "git@github.com:")
|
||||
.env("GIT_CONFIG_KEY_2", "url.https://github.com/.insteadOf")
|
||||
.env("GIT_CONFIG_VALUE_2", "git://github.com/")
|
||||
.env("GIT_CONFIG_KEY_3", "url.https://github.com/.insteadOf")
|
||||
.env("GIT_CONFIG_VALUE_3", "git+ssh://git@github.com/")
|
||||
.stdout(Stdio::piped())
|
||||
.stderr(Stdio::piped())
|
||||
.spawn()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/tauri-apps/tauri/dev/crates/tauri-config-schema/schema.json",
|
||||
"productName": "ClawPanel",
|
||||
"version": "0.8.5",
|
||||
"version": "0.8.6",
|
||||
"identifier": "ai.openclaw.clawpanel",
|
||||
"build": {
|
||||
"frontendDist": "../dist",
|
||||
|
||||
Reference in New Issue
Block a user