Show commit ID on version

This commit is contained in:
Iwasaki Yudai 2017-08-17 14:04:17 +09:00
parent 4fd3ac376c
commit 91ee778665
3 changed files with 6 additions and 4 deletions

View file

@ -18,7 +18,7 @@ import (
func main() {
app := cli.NewApp()
app.Name = "gotty"
app.Version = Version
app.Version = Version + "+" + CommitID
app.Usage = "Share your terminal as a web application"
app.HideHelp = true
cli.AppHelpTemplate = helpTemplate