Skip to content

Commit ab85741

Browse files
committed
fix(install-hooks): 修正版本字串語法以恢復版本檢查可執行性
修正因版本字串被截斷導致的解析錯誤( 變數缺少變數名稱),此問題會使 install-hooks.sh 在載入時觸發語法錯誤並中斷 --version/help 等操作。補上完整 指派後,腳本可正常通過 shell 語法檢查,並可供後續 release 流程繼續執行。
1 parent fc6848e commit ab85741

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install-hooks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ NC='\033[0m' # No Color
2828
# 支援的 Coding Agent 清單(目前)
2929
# Supported coding agents list
3030
SUPPORTED_AGENTS=(claude codex cursor copilot antigravity qoder pi opencode grok)
31-
.4.2"
31+
VERSION="1.4.2"
3232
RELEASE_BASE_URL="https://github.com/doggy8088/better-rm/releases/latest/download"
3333
RELEASE_HOOK_ASSET_NAME="protect-important-paths.js"
3434
RELEASE_OPENCODE_PLUGIN_ASSET_NAME="opencode-protect-important-paths.ts"

0 commit comments

Comments
 (0)