fix(cli): remove the local flag in local release version (#1361)

This commit is contained in:
dkeven
2025-05-29 20:10:44 +08:00
committed by GitHub
parent d5673b81e0
commit e58743fa87
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ func NewCmdRelease() *cobra.Command {
}
if version == "" {
version = fmt.Sprintf("1.12.0-local-%s", time.Now().Format("20060102150405"))
version = fmt.Sprintf("1.12.0-%s", time.Now().Format("20060102150405"))
fmt.Printf("--version unspecified, using: %s\n", version)
time.Sleep(1 * time.Second)
}