Cimi icon indicating copy to clipboard operation
Cimi copied to clipboard

[bug] `manual` 选项在选择新版本时没有正确更新版本号

Open byteSizeGO opened this issue 7 months ago • 1 comments

描述: 在使用 manual 选项时,选择新版本并不能正确更新版本号,导致后续 git commitnpm publish 步骤失败。似乎是在选择新版本号后,未正确写入 package.json 文件。

重现步骤:

  1. 运行 cimi manual
  2. 选择任意新版本号。
  3. 检查 package.json 文件中的版本号,发现未更新。
  4. 查看 git commitnpm publish 步骤,发现失败。

期望行为: 选择新版本号后,package.json 文件中的版本号应被正确更新,后续的 git commitnpm publish 步骤应成功。

环境:

  • Node.js 版本: v14.17.0
  • NPM 版本: 6.14.13
  • 操作系统: Windows 10

byteSizeGO avatar Jun 28 '24 13:06 byteSizeGO