Skip to content

Commit bc69434

Browse files
committed
ci: bump version to 1.2.3
1 parent 60205e5 commit bc69434

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.0
1+
1.2.3

cmd/analyze.go

+5-4
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,17 @@ var (
7070
analyzer.SetLogger(logger)
7171
// Loading git repository
7272
repository, err := util.LoadRepository(ctx, options)
73-
logger.WithFields(logging.Fields{
74-
"correlation_id": util.GetRequestID(ctx),
75-
"user_id": util.GetUserID(ctx),
76-
}).Debugf("repository `%v` successfully fetched", options.URI)
7773
if err != nil {
7874
color.Red.Printf("error fetching repository `%v`", err)
7975
logger.WithFields(logging.Fields{
8076
"correlation_id": util.GetRequestID(ctx),
8177
"user_id": util.GetUserID(ctx),
8278
}).Fatalf("error fetching repository `%v`", err)
8379
}
80+
logger.WithFields(logging.Fields{
81+
"correlation_id": util.GetRequestID(ctx),
82+
"user_id": util.GetUserID(ctx),
83+
}).Debugf("repository `%v` successfully fetched", options.URI)
8484
analyzer.SetRepository(repository)
8585
// Get project informations
8686
info, err = hook.ParseInfo(repository)
@@ -111,6 +111,7 @@ var (
111111
color.Red.Printf("error parsing hook info %v", err)
112112
logger.WithFields(logging.Fields{
113113
"correlation_id": util.GetRequestID(ctx),
114+
"hook_input": options.HookInput,
114115
"user_id": util.GetUserID(ctx),
115116
}).Fatal(err)
116117
}

internal/util/git.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func LoadRepository(ctx context.Context, options *config.Options) (*git.Reposito
8989

9090
// ParseGitPushOptions parse git push options
9191
func ParseGitPushOptions() {
92-
// TODO: implement this
92+
// TODO: implement git push options
9393
}
9494

9595
// RevListOptions defines the rules of rev-list func

0 commit comments

Comments
 (0)