Skip to content

release publish --dry-run 从 monorepo root 跑误检测 scope #10

Description

@Guo-Zhang

现象

从 monorepo root 执行 qtcloud-devops release publish --dry-run 时,detect.rs 只查根目录的 .quanttide/devops/contract.yaml,导致 scope 误判为 (root)

期望

  • 子目录下执行 release publish(无 -v)时,优先按 cwd 匹配 scope
  • 没有 cwd 匹配时回退到当前检测逻辑

参考

scan_with_options 只查 root,不查 cwdplan status 已经有 find_scope_by_path 模式可复用。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions