Explorar o código

chore: update goctl version (#1250)

* chore: update goctl version

* style: coding style
Kevin Wan %!s(int64=3) %!d(string=hai) anos
pai
achega
417a96cbf2
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      tools/goctl/internal/version/version.go

+ 3 - 3
tools/goctl/internal/version/version.go

@@ -6,15 +6,15 @@ import (
 )
 
 // BuildVersion is the version of goctl.
-const BuildVersion = "1.2.3"
+const BuildVersion = "1.2.3-cli"
+
+var tag = map[string]int{"pre-alpha": 0, "alpha": 1, "pre-bata": 2, "beta": 3, "released": 4, "": 5}
 
 // GetGoctlVersion returns BuildVersion
 func GetGoctlVersion() string {
 	return BuildVersion
 }
 
-var tag = map[string]int{"pre-alpha": 0, "alpha": 1, "pre-bata": 2, "beta": 3, "released": 4, "": 5}
-
 // IsVersionGreaterThan compares whether the current goctl version
 // is greater than the target version
 func IsVersionGreaterThan(version, target string) bool {