修复生产构建根目录解析 #25
@@ -1,5 +1,5 @@
|
||||
param(
|
||||
[string]$RepoRoot = (Split-Path -Parent $PSScriptRoot),
|
||||
[string]$RepoRoot = (Join-Path $PSScriptRoot "..\.."),
|
||||
[string]$ServerInfoPath = "",
|
||||
[switch]$DryRun,
|
||||
[switch]$Deploy,
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
# 项目变更记录
|
||||
|
||||
## 2026-08-28 修复生产构建脚本仓库根目录解析
|
||||
|
||||
- 修复 Gitea Runner 从 `docs/scripts` 执行 Salon 发布脚本时默认仓库根目录误解析为 `docs`,导致找不到 `JC-Salon-Core` 的问题。
|
||||
- 默认 `RepoRoot` 现在从脚本目录向上两级解析到仓库根目录,仍支持通过参数显式覆盖。
|
||||
|
||||
## 2026-08-28 修复 Gitea Detached HEAD 构建失败
|
||||
|
||||
- 修复 Gitea Actions 检出合并提交后处于 detached HEAD,`git branch --show-current` 返回空值导致 PowerShell `.Trim()` 空引用异常的问题。
|
||||
|
||||
Reference in New Issue
Block a user