clean comment
This commit is contained in:
@@ -78,7 +78,6 @@ get_tag_commit() {
|
|||||||
echo "$commit_sha"
|
echo "$commit_sha"
|
||||||
}
|
}
|
||||||
|
|
||||||
# ✅ 修复:通过 release.yml 专属 workflow 端点获取构建号(run_number)
|
|
||||||
# 对应 GitHub Actions 页面 https://github.com/zed-industries/zed/actions/workflows/release.yml 中显示的 #xxx
|
# 对应 GitHub Actions 页面 https://github.com/zed-industries/zed/actions/workflows/release.yml 中显示的 #xxx
|
||||||
get_build_number() {
|
get_build_number() {
|
||||||
local commit_sha="$1"
|
local commit_sha="$1"
|
||||||
@@ -172,7 +171,6 @@ fi
|
|||||||
|
|
||||||
echo -e "${BLUE}🔖 Commit: ${COMMIT_SHA:0:12}...${NC}"
|
echo -e "${BLUE}🔖 Commit: ${COMMIT_SHA:0:12}...${NC}"
|
||||||
|
|
||||||
# ✅ 修复:直接传入 commit_sha,通过 release.yml 专属端点获取构建号
|
|
||||||
echo "🔍 正在获取构建号..."
|
echo "🔍 正在获取构建号..."
|
||||||
BUILD_NUM=$(get_build_number "$COMMIT_SHA")
|
BUILD_NUM=$(get_build_number "$COMMIT_SHA")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user