@@ -1,5 +1,5 @@
|
|||||||
param(
|
param(
|
||||||
[string]$RepoRoot = (Split-Path -Parent $PSScriptRoot),
|
[string]$RepoRoot = (Join-Path $PSScriptRoot "..\.."),
|
||||||
[string]$ServerInfoPath = "",
|
[string]$ServerInfoPath = "",
|
||||||
[switch]$DryRun,
|
[switch]$DryRun,
|
||||||
[switch]$Deploy,
|
[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 构建失败
|
## 2026-08-28 修复 Gitea Detached HEAD 构建失败
|
||||||
|
|
||||||
- 修复 Gitea Actions 检出合并提交后处于 detached HEAD,`git branch --show-current` 返回空值导致 PowerShell `.Trim()` 空引用异常的问题。
|
- 修复 Gitea Actions 检出合并提交后处于 detached HEAD,`git branch --show-current` 返回空值导致 PowerShell `.Trim()` 空引用异常的问题。
|
||||||
|
|||||||
Reference in New Issue
Block a user