Update Makefile, version.go, and 3 more files...

This commit is contained in:
RamiBerm
2021-05-11 10:26:24 +03:00
parent cc60ad064c
commit bc165dbbaf
5 changed files with 21 additions and 16 deletions

View File

@@ -11,7 +11,7 @@ var versionCmd = &cobra.Command{
Use: "version",
Short: "Print version info",
RunE: func(cmd *cobra.Command, args []string) error {
fmt.Printf("mizu version %s\n", mizu.Version)
fmt.Printf("%s %s\n", mizu.Version, mizu.GitCommitHash)
return nil
},
}