@@ -38,22 +38,22 @@ It will create a new release given a tag and post it to GitHub as a draft.`,
38
38
}
39
39
40
40
if previousTag == "" {
41
- previousTag , err = utils .Input ("Previous tag: " )
41
+ previousTag , err = utils .InputWithColor ("Previous tag: " , c . UserColor )
42
42
if err != nil {
43
43
log .Errorf ("Error getting previous tag: %s" , err )
44
44
os .Exit (1 )
45
45
}
46
46
}
47
47
48
48
if currentTag == "" {
49
- currentTag , err = utils .Input ("Current tag: " )
49
+ currentTag , err = utils .InputWithColor ("Current tag: " , c . UserColor )
50
50
if err != nil {
51
51
log .Errorf ("Error getting current tag: %s" , err )
52
52
os .Exit (1 )
53
53
}
54
54
}
55
55
56
- fmt . Print ("Release notes: " )
56
+ utils . PrintColoredText ("Release notes: " , c . OttoColor )
57
57
58
58
// get the log between the tags
59
59
gitLog , err := git .LogBetween (previousTag , currentTag )
@@ -114,7 +114,7 @@ func init() {
114
114
RootCmd .AddCommand (releaseCmd )
115
115
116
116
releaseCmd .Flags ().BoolVarP (& verbose , "verbose" , "v" , false , "Verbose output" )
117
- releaseCmd .Flags ().BoolVarP (& force , "force" , "f" , false , "Force overwrite of existing file " )
117
+ releaseCmd .Flags ().BoolVarP (& force , "force" , "f" , false , "Do not prompt for confirmation " )
118
118
releaseCmd .Flags ().StringVarP (& previousTag , "prev-tag" , "p" , "" , "Previous tag" )
119
119
releaseCmd .Flags ().StringVarP (& currentTag , "tag" , "t" , "" , "Current tag" )
120
120
}
0 commit comments