Skip to content

Commit

Permalink
feat(update): release new version
Browse files Browse the repository at this point in the history
release new version

Signed-off-by: ysicing <[email protected]>
  • Loading branch information
ysicing committed Nov 16, 2023
1 parent f3f2fd0 commit ec87ef8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/upgrade/q.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (up option) DoQcadmin() {
up.log.StartWait(fmt.Sprintf("downloading version %s...", lastVersion))
assetURL := fmt.Sprintf("https://pkg.qucheng.com/qucheng/cli/stable/qcadmin_%s_%s", runtime.GOOS, runtime.GOARCH)
if lastType == "github" {
assetURL = fmt.Sprintf("https://ghproxy.com/https://github.com/easysoft/quickon_cli/releases/download/%s/qcadmin_%s_%s", lastVersion, runtime.GOOS, runtime.GOARCH)
assetURL = fmt.Sprintf("https://github.com/easysoft/quickon_cli/releases/download/%s/qcadmin_%s_%s", lastVersion, runtime.GOOS, runtime.GOARCH)
}
err = selfupdate.UpdateTo(up.log, assetURL, cmdPath)
up.log.StopWait()
Expand Down
8 changes: 4 additions & 4 deletions common/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ const (
const (
DefaultQuickonOSSVersion = "3.0.2" // 开源版本
DefaultQuickonEEVersion = "1.0"
DefaultZentaoDevOPSOSSVersion = "18.8"
DefaultZentaoDevOPSMaxVersion = "4.8"
DefaultZentaoDevOPSBizVersion = "8.8"
DefaultZentaoDevOPSIPDVersion = "1.1"
DefaultZentaoDevOPSOSSVersion = "18.9"
DefaultZentaoDevOPSMaxVersion = "4.9"
DefaultZentaoDevOPSBizVersion = "8.9"
DefaultZentaoDevOPSIPDVersion = "1.1.1"
K3sBinName = "k3s"
K3sBinPath = "/usr/local/bin/k3s"
HelmBinName = "helm"
Expand Down

0 comments on commit ec87ef8

Please sign in to comment.