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

alias publish support version-latest #551

Merged
merged 2 commits into from
Dec 30, 2021
Merged

alias publish support version-latest #551

merged 2 commits into from
Dec 30, 2021

Conversation

wss-git
Copy link
Member

@wss-git wss-git commented Dec 29, 2021

alias publish 逻辑:

  1. 指定 version-id,直接使用
  2. 未指定 version-id,但是指定了 version-latest,则获取版本列表,取下标0的版本号(默认倒序,下标0就是最大的版本号)
  3. 未指定 version-id 和 version-latest,获取版本列表,如果仅有一个版本直接使用,如果是多个版本,交互,让用户选择

#150

日志 help 错误:
Serverless-Devs/Serverless-Devs#389

@wss-git wss-git requested review from anycodes, heimanba and rsonghuster and removed request for anycodes December 29, 2021 09:34
docs/zh/command/alias.md Outdated Show resolved Hide resolved
docs/zh/command/alias.md Outdated Show resolved Hide resolved
@wss-git wss-git force-pushed the support/version-latest branch from 3ed2fe1 to 8b7379c Compare December 30, 2021 01:50
@heimanba heimanba merged commit 6285ae5 into main Dec 30, 2021
@heimanba heimanba deleted the support/version-latest branch January 30, 2022 13:19
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.

2 participants