Skip to content

Commit

Permalink
ci: bump version to 1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
HabibMAALEM committed May 21, 2021
1 parent 60205e5 commit bc69434
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.0
1.2.3
9 changes: 5 additions & 4 deletions cmd/analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,17 @@ var (
analyzer.SetLogger(logger)
// Loading git repository
repository, err := util.LoadRepository(ctx, options)
logger.WithFields(logging.Fields{
"correlation_id": util.GetRequestID(ctx),
"user_id": util.GetUserID(ctx),
}).Debugf("repository `%v` successfully fetched", options.URI)
if err != nil {
color.Red.Printf("error fetching repository `%v`", err)
logger.WithFields(logging.Fields{
"correlation_id": util.GetRequestID(ctx),
"user_id": util.GetUserID(ctx),
}).Fatalf("error fetching repository `%v`", err)
}
logger.WithFields(logging.Fields{
"correlation_id": util.GetRequestID(ctx),
"user_id": util.GetUserID(ctx),
}).Debugf("repository `%v` successfully fetched", options.URI)
analyzer.SetRepository(repository)
// Get project informations
info, err = hook.ParseInfo(repository)
Expand Down Expand Up @@ -111,6 +111,7 @@ var (
color.Red.Printf("error parsing hook info %v", err)
logger.WithFields(logging.Fields{
"correlation_id": util.GetRequestID(ctx),
"hook_input": options.HookInput,
"user_id": util.GetUserID(ctx),
}).Fatal(err)
}
Expand Down
2 changes: 1 addition & 1 deletion internal/util/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func LoadRepository(ctx context.Context, options *config.Options) (*git.Reposito

// ParseGitPushOptions parse git push options
func ParseGitPushOptions() {
// TODO: implement this
// TODO: implement git push options
}

// RevListOptions defines the rules of rev-list func
Expand Down

0 comments on commit bc69434

Please sign in to comment.