Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetLatestEthereumClientVersionCmd = &cobra.Command{ Use: "get-latest-ethereum-client-version", Short: "Get the latest Ethereum client release version from Github", RunE: func(cmd *cobra.Command, args []string) error { if len(args) != 1 { return fmt.Errorf("please provide the repository in the format 'org/repo:tag'") } repo := args[0] latest, err := test_env.FetchLatestEthereumClientDockerImageVersionIfNeed(repo) if err != nil { return fmt.Errorf("error fetching release information: %v", err) } fmt.Println(strings.Split(latest, ":")[1]) return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.