Skip to content

Commit 5160010

Browse files
committed
close dubboctl version
1 parent b434db8 commit 5160010

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dubboctl/cmd/root.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import (
2828
"github.com/apache/dubbo-kubernetes/dubboctl/pkg/sdk"
2929
"github.com/apache/dubbo-kubernetes/dubboctl/pkg/util"
3030
"github.com/apache/dubbo-kubernetes/dubboctl/pkg/validate"
31-
"github.com/apache/dubbo-kubernetes/dubboctl/pkg/version"
3231
"github.com/apache/dubbo-kubernetes/operator/cmd/cluster"
3332
"github.com/spf13/cobra"
3433
"net/http"
@@ -124,9 +123,9 @@ func GetRootCmd(args []string) *cobra.Command {
124123
rootCmd.AddCommand(validateCmd)
125124
hideFlags(validateCmd, ChartFlag)
126125

127-
versionCmd := version.NewVersionCommand(ctx)
128-
rootCmd.AddCommand(versionCmd)
129-
hideFlags(versionCmd, ChartFlag)
126+
// versionCmd := version.NewVersionCommand(ctx)
127+
// rootCmd.AddCommand(versionCmd)
128+
// hideFlags(versionCmd, ChartFlag)
130129

131130
createCmd := CreateCmd(ctx, rootCmd, factory)
132131
rootCmd.AddCommand(createCmd)

release/downloadDubboCandidate.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,6 @@ printf "%s download complete!\n" "${filename}"
9090
# Print message.
9191
printf "\n"
9292
printf "Add the dubbo to your path with:\n"
93-
printf " export PATH=\$HOME/.dubbo/bin:\$PATH \n"
93+
# shellcheck disable=SC2059
94+
printf " export PATH=$(pwd)/dubbo-${DUBBO_VERSION}/bin:$PATH \n"
9495
printf "\n"

0 commit comments

Comments
 (0)