Skip to content

Commit c7c4c7b

Browse files
scripts/bumper: exit when there's nothing to do
Signed-off-by: Steve Kuznetsov <[email protected]>
1 parent 417a2be commit c7c4c7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/bumper/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ func main() {
208208

209209
if len(missingCommits) == 0 {
210210
logger.Info("Current repository state is up-to-date with upstream.")
211+
return
211212
}
212213

213214
switch mode(opts.mode) {

0 commit comments

Comments
 (0)