Skip to content

feat: create alias #301

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

Merged

Conversation

DarminZ
Copy link
Contributor

@DarminZ DarminZ commented Sep 27, 2024

如果inputs传了aliasName就创建或更新这个别名
增加参数:
aliasFunctionVersion -> 别名主版本,未填默认为cli获取的函数版本即$LATEST
aliasAddionalVersion -> 别名其他版本,未默认为deploy中新发的版本
其他相关参数:
traffic -> 主版本的流量占比(0-1)

Copy link
Contributor

@Serverlesstencent Serverlesstencent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Serverlesstencent Serverlesstencent merged commit 4d75d43 into serverless-tencent:master Nov 13, 2024
Serverlesstencent pushed a commit that referenced this pull request Nov 13, 2024
# [2.27.0](v2.26.0...v2.27.0) (2024-11-13)

### Features

* create alias ([#301](#301)) ([4d75d43](4d75d43))
@Serverlesstencent
Copy link
Contributor

🎉 This PR is included in version 2.27.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants