@@ -11,7 +11,7 @@ import (
1111var mainApp = & cli.App {
1212 Name : "gitflow-toolkit" ,
1313 Usage : "Git Flow ToolKit" ,
14- Version : fmt .Sprintf ("%s %s %s" , version , buildDate , commitID ),
14+ Version : fmt .Sprintf ("%s %s %s" , version , buildDate , buildCommit ),
1515 Authors : []* cli.Author {{Name : "mritd" , Email : "mritd@linux.com" }},
1616 Copyright : "Copyright (c) " + time .Now ().Format ("2006" ) + " mritd, All rights reserved." ,
1717 EnableBashCompletion : true ,
@@ -44,7 +44,7 @@ func newBranchApp(ct string) *cli.App {
4444 Name : "git-" + string (ct ),
4545 Usage : fmt .Sprintf ("Create %s branch" , ct ),
4646 UsageText : fmt .Sprintf ("git %s BRANCH" , ct ),
47- Version : fmt .Sprintf ("%s %s %s" , version , buildDate , commitID ),
47+ Version : fmt .Sprintf ("%s %s %s" , version , buildDate , buildCommit ),
4848 Authors : []* cli.Author {{Name : "mritd" , Email : "mritd@linux.com" }},
4949 Copyright : "Copyright (c) " + time .Now ().Format ("2006" ) + " mritd, All rights reserved." ,
5050 EnableBashCompletion : true ,
@@ -65,7 +65,7 @@ func commitApp() *cli.App {
6565 Name : "git-ci" ,
6666 Usage : "Interactive commit" ,
6767 UsageText : "git ci" ,
68- Version : fmt .Sprintf ("%s %s %s" , version , buildDate , commitID ),
68+ Version : fmt .Sprintf ("%s %s %s" , version , buildDate , buildCommit ),
6969 Authors : []* cli.Author {{Name : "mritd" , Email : "mritd@linux.com" }},
7070 Copyright : "Copyright (c) " + time .Now ().Format ("2006" ) + " mritd, All rights reserved." ,
7171 EnableBashCompletion : true ,
@@ -93,7 +93,7 @@ func checkMessageApp() *cli.App {
9393 Name : "commit-msg" ,
9494 Usage : "Commit message hook" ,
9595 UsageText : "commit-msg FILE" ,
96- Version : fmt .Sprintf ("%s %s %s" , version , buildDate , commitID ),
96+ Version : fmt .Sprintf ("%s %s %s" , version , buildDate , buildCommit ),
9797 Authors : []* cli.Author {{Name : "mritd" , Email : "mritd@linux.com" }},
9898 Copyright : "Copyright (c) " + time .Now ().Format ("2006" ) + " mritd, All rights reserved." ,
9999 EnableBashCompletion : true ,
@@ -111,7 +111,7 @@ func pushApp() *cli.App {
111111 Name : "git-ps" ,
112112 Usage : "Push local branch to remote" ,
113113 UsageText : "git ps" ,
114- Version : fmt .Sprintf ("%s %s %s" , version , buildDate , commitID ),
114+ Version : fmt .Sprintf ("%s %s %s" , version , buildDate , buildCommit ),
115115 Authors : []* cli.Author {{Name : "mritd" , Email : "mritd@linux.com" }},
116116 Copyright : "Copyright (c) " + time .Now ().Format ("2006" ) + " mritd, All rights reserved." ,
117117 EnableBashCompletion : true ,
0 commit comments