Skip to content

fix: read release version safely in workflow - #53

Merged
qfxiongbinbin merged 1 commit into
mainfrom
fix/auto-release-read-version
Apr 15, 2026
Merged

qfxiongbinbin merged 1 commit into
mainfrom
fix/auto-release-read-version

Conversation

@qfxiongbinbin

Copy link
Copy Markdown
Owner

问题

自动发版 workflow 在读取 package.json 版本号时,shell 对 这一层引号解析出错,导致步骤直接失败。

这次修复

  • 把读取版本号改成 Python 读取 package.json
  • 避开嵌套引号带来的 shell 解析问题
  • 已重新校验 workflow YAML 和脚本片段

已验证

  • YAML 解析通过
  • 读取版本号脚本片段本地执行通过

@qfxiongbinbin
qfxiongbinbin merged commit 41406d2 into main Apr 15, 2026
@qfxiongbinbin
qfxiongbinbin deleted the fix/auto-release-read-version branch April 15, 2026 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant