fengxinhhh / Cimi

一款全自动发布NPM包的工具
https://github.com/fengxinhhh
MIT License
115 stars 21 forks source link

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

Open byteSizeGO opened 3 months ago

byteSizeGO commented 3 months ago

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

重现步骤:

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

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

环境:

PengtuLi commented 3 months ago

@byteSizeGO This bug should be resolved by my #15 , please check again.