Skip to content

Commit b29e24c

Browse files
committed
remove bogus comment
1 parent 2a6f8e7 commit b29e24c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/release/main.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,9 +381,8 @@ func (r *releaseCommand) autoversionFile(ctx context.Context, file, channel, ver
381381
}
382382
}
383383
if matchRe != nil {
384-
// Apply matchRe and find the group named "version", then replace it with the new version.
385-
// Utilize the index where the match was found to replace the correct part. The only
386-
// match group is the version.
384+
// Apply matchRe and find the group named "version", then replace it
385+
// with the new version.
387386
if match := matchRe.FindStringSubmatchIndex(line); match != nil {
388387
vg := matchRe.SubexpIndex("version")
389388
if vg == -1 {

0 commit comments

Comments
 (0)