修复 terminal 安装脚本版本查询域名#1097
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
合入判断
[APPROVE] — 单行域名对齐修复,无显著风险
变更概要
install脚本中get_latest_release拉取最新版本所用的域名由open.longbridge.cn改为open.longbridge.cominstall.ps1(Windows 安装脚本)以及本脚本下方的download_url域名完全一致风险分析
.com,与下载 URL 一致curl ... | sh重新拉取,无持久缓存设计决策
get_latest_release与download_url统一为open.longbridge.com,与 PowerShell 版本保持一致代码关注点
无显著问题。
验证状态
📋 需验证:在 macOS/Linux 上执行
curl -fsSL https://open.longbridge.com/longbridge/longbridge-terminal/install | sh能成功拉取到最新版本号并完成下载