This is an automated email from the ASF dual-hosted git repository.

zhongxjian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-kubernetes.git


The following commit(s) were added to refs/heads/master by this push:
     new 51600106 close dubboctl version
51600106 is described below

commit 5160010611d503bc7e62eba120bf922289c9e8de
Author: mfordjody <[email protected]>
AuthorDate: Fri Jul 4 16:32:00 2025 +0800

    close dubboctl version
---
 dubboctl/cmd/root.go              | 7 +++----
 release/downloadDubboCandidate.sh | 3 ++-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dubboctl/cmd/root.go b/dubboctl/cmd/root.go
index b3d00cf8..e643c40e 100644
--- a/dubboctl/cmd/root.go
+++ b/dubboctl/cmd/root.go
@@ -28,7 +28,6 @@ import (
        "github.com/apache/dubbo-kubernetes/dubboctl/pkg/sdk"
        "github.com/apache/dubbo-kubernetes/dubboctl/pkg/util"
        "github.com/apache/dubbo-kubernetes/dubboctl/pkg/validate"
-       "github.com/apache/dubbo-kubernetes/dubboctl/pkg/version"
        "github.com/apache/dubbo-kubernetes/operator/cmd/cluster"
        "github.com/spf13/cobra"
        "net/http"
@@ -124,9 +123,9 @@ func GetRootCmd(args []string) *cobra.Command {
        rootCmd.AddCommand(validateCmd)
        hideFlags(validateCmd, ChartFlag)
 
-       versionCmd := version.NewVersionCommand(ctx)
-       rootCmd.AddCommand(versionCmd)
-       hideFlags(versionCmd, ChartFlag)
+       // versionCmd := version.NewVersionCommand(ctx)
+       // rootCmd.AddCommand(versionCmd)
+       // hideFlags(versionCmd, ChartFlag)
 
        createCmd := CreateCmd(ctx, rootCmd, factory)
        rootCmd.AddCommand(createCmd)
diff --git a/release/downloadDubboCandidate.sh 
b/release/downloadDubboCandidate.sh
index 81a2b974..13ba65e6 100644
--- a/release/downloadDubboCandidate.sh
+++ b/release/downloadDubboCandidate.sh
@@ -90,5 +90,6 @@ printf "%s download complete!\n" "${filename}"
 # Print message.
 printf "\n"
 printf "Add the dubbo to your path with:\n"
-printf "  export PATH=\$HOME/.dubbo/bin:\$PATH \n"
+# shellcheck disable=SC2059
+printf "  export PATH=$(pwd)/dubbo-${DUBBO_VERSION}/bin:$PATH \n"
 printf "\n"
\ No newline at end of file

Reply via email to