diff --git a/CHANGELOG.md b/CHANGELOG.md index bf8179fe3f..53bcd18ae6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.1.36 (2021-05-25) + +ENHANCEMENTS: + +* update cmd `uhost create` about bind EIP: EIP creates and binds to UHost when UHost creating instead of after UHost creating. +* add the flags: `--instance-type`, `--forward-region`, `--bandwidth-package` about command `gssh create` to customize specific instance type of global ssh. +* add response fields: `GlobalSSHPort`, `InstanceType` about command `gssh list` to list specific instance type of global ssh. + ## 0.1.35 (2020-11-11) ENHANCEMENTS: diff --git a/Makefile b/Makefile index 447d2d2ecf..8aeac406ba 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -export VERSION=0.1.35 +export VERSION=0.1.36 GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor) .PHONY : install diff --git a/base/config.go b/base/config.go index f5cc81a74e..df1844271b 100644 --- a/base/config.go +++ b/base/config.go @@ -39,7 +39,7 @@ const DefaultBaseURL = "https://api.ucloud.cn/" const DefaultProfile = "default" //Version 版本号 -const Version = "0.1.35" +const Version = "0.1.36" var UserAgent = fmt.Sprintf("UCloud-CLI/%s", Version) diff --git a/cmd/globalssh.go b/cmd/globalssh.go index 1ea598f106..be428872bb 100644 --- a/cmd/globalssh.go +++ b/cmd/globalssh.go @@ -51,8 +51,8 @@ type GSSHRow struct { AcceleratingDomain string SSHServerLocation string SSHPort int - GlobalSSHPort int Remark string + GlobalSSHPort int InstanceType string } @@ -86,8 +86,8 @@ func NewCmdGsshList(out io.Writer) *cobra.Command { row.SSHServerIP = gssh.TargetIP row.AcceleratingDomain = gssh.AcceleratingDomain row.SSHPort = gssh.Port - row.GlobalSSHPort = gssh.GlobalSSHPort row.Remark = gssh.Remark + row.GlobalSSHPort = gssh.GlobalSSHPort row.InstanceType = gssh.InstanceType if val, ok := areaMap[gssh.Area]; ok { row.SSHServerLocation = val