Skip to content

Commit

Permalink
Return if no releases
Browse files Browse the repository at this point in the history
We dont fail out as if there is not newer releases we dont really care?

Signed-off-by: Itxaka <itxaka@kairos.io>
  • Loading branch information
Itxaka committed Sep 24, 2024
1 parent ce714af commit 20966e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ See https://kairos.io/docs/upgrade/manual/ for documentation.
if err != nil {
return err
}
if len(tags) == 0 {
fmt.Println("No newer releases found")
return nil
}

if c.Bool("recovery") && c.String("boot-entry") != "" {
return fmt.Errorf("only one of '--recovery' and '--boot-entry' can be set")
Expand Down

0 comments on commit 20966e5

Please sign in to comment.