Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hummer CLI 增加 Check Update 功能 #33

Open
duanlikang opened this issue Jun 28, 2021 · 0 comments
Open

Hummer CLI 增加 Check Update 功能 #33

duanlikang opened this issue Jun 28, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@duanlikang
Copy link
Collaborator

背景

Hummer CLI 版本升级后,无法很好的触达给用户版本升级的内容。

诉求

Hummer CLI 版本升级后,重新执行任意Hummer相关命令时,进行版本更新消息的触达。

技术方案

Hummer CLI入口 bin文件中,增加校验版本的逻辑,通过接口获取当前版本的更新内容(或者分析识别 commit 信息,获取版本更新信息),然后展示到命令行中。

版本更新策略分为两种

  • 强制更新,校验需要更新且需要强制更新后,自动执行更新命令,进行 Hummer CLI 的升级
  • 通知更新,只展示最新版本的更新内容,进行消息触达
@duanlikang duanlikang added the enhancement New feature or request label Jun 28, 2021
@duanlikang duanlikang self-assigned this Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant