@@ -11,7 +11,7 @@ import (
11
11
var mainApp = & cli.App {
12
12
Name : "gitflow-toolkit" ,
13
13
Usage : "Git Flow ToolKit" ,
14
- Version : fmt .Sprintf ("%s %s %s" , version , buildDate , commitID ),
14
+ Version : fmt .Sprintf ("%s %s %s" , version , buildDate , buildCommit ),
15
15
Authors : []
* cli.
Author {{
Name :
"mritd" ,
Email :
"[email protected] " }},
16
16
Copyright : "Copyright (c) " + time .Now ().Format ("2006" ) + " mritd, All rights reserved." ,
17
17
EnableBashCompletion : true ,
@@ -44,7 +44,7 @@ func newBranchApp(ct string) *cli.App {
44
44
Name : "git-" + string (ct ),
45
45
Usage : fmt .Sprintf ("Create %s branch" , ct ),
46
46
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 ),
48
48
Authors : []
* cli.
Author {{
Name :
"mritd" ,
Email :
"[email protected] " }},
49
49
Copyright : "Copyright (c) " + time .Now ().Format ("2006" ) + " mritd, All rights reserved." ,
50
50
EnableBashCompletion : true ,
@@ -65,7 +65,7 @@ func commitApp() *cli.App {
65
65
Name : "git-ci" ,
66
66
Usage : "Interactive commit" ,
67
67
UsageText : "git ci" ,
68
- Version : fmt .Sprintf ("%s %s %s" , version , buildDate , commitID ),
68
+ Version : fmt .Sprintf ("%s %s %s" , version , buildDate , buildCommit ),
69
69
Authors : []
* cli.
Author {{
Name :
"mritd" ,
Email :
"[email protected] " }},
70
70
Copyright : "Copyright (c) " + time .Now ().Format ("2006" ) + " mritd, All rights reserved." ,
71
71
EnableBashCompletion : true ,
@@ -93,7 +93,7 @@ func checkMessageApp() *cli.App {
93
93
Name : "commit-msg" ,
94
94
Usage : "Commit message hook" ,
95
95
UsageText : "commit-msg FILE" ,
96
- Version : fmt .Sprintf ("%s %s %s" , version , buildDate , commitID ),
96
+ Version : fmt .Sprintf ("%s %s %s" , version , buildDate , buildCommit ),
97
97
Authors : []
* cli.
Author {{
Name :
"mritd" ,
Email :
"[email protected] " }},
98
98
Copyright : "Copyright (c) " + time .Now ().Format ("2006" ) + " mritd, All rights reserved." ,
99
99
EnableBashCompletion : true ,
@@ -111,7 +111,7 @@ func pushApp() *cli.App {
111
111
Name : "git-ps" ,
112
112
Usage : "Push local branch to remote" ,
113
113
UsageText : "git ps" ,
114
- Version : fmt .Sprintf ("%s %s %s" , version , buildDate , commitID ),
114
+ Version : fmt .Sprintf ("%s %s %s" , version , buildDate , buildCommit ),
115
115
Authors : []
* cli.
Author {{
Name :
"mritd" ,
Email :
"[email protected] " }},
116
116
Copyright : "Copyright (c) " + time .Now ().Format ("2006" ) + " mritd, All rights reserved." ,
117
117
EnableBashCompletion : true ,
0 commit comments