Skip to content

Commit ccb764f

Browse files
scripts/bumper: count better
Signed-off-by: Steve Kuznetsov <[email protected]>
1 parent 1a816d1 commit ccb764f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/bumper/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ func main() {
201201
}
202202
for i, commit := range missingCommits {
203203
commitLogger := logger.WithField("commit", commit.Hash)
204-
commitLogger.Infof("cherry-picking commit %d/%d", i+1, len(missingCommits))
204+
commitLogger.Infof("cherry-picking commit %d/%d", i+1, len(missingCommits)+1)
205205
if err := cherryPick(ctx, commitLogger, commit, opts.GitCommitArgs()); err != nil {
206206
logger.WithError(err).Fatal("failed to cherry-pick commit")
207207
}

0 commit comments

Comments
 (0)