[root] Fix regex for commit version check

pull/198/head
Janet Liang 5 years ago
parent 98e2d9dfb4
commit b51f190bb7
  1. 2
      cmd/subcommands/root.go

@ -159,7 +159,7 @@ var (
VersionWrapDump = ""
cookbook = color.GreenString("hmy cookbook")
versionLink = "https://harmony.one/hmycli_ver"
versionFormat = regexp.MustCompile("v[0-9]+-[a-z0-9]{6}")
versionFormat = regexp.MustCompile("v[0-9]+-[a-z0-9]{7}")
)
// Execute kicks off the hmy CLI

Loading…
Cancel
Save