Skip to content

Commit

Permalink
return to main, dont exit
Browse files Browse the repository at this point in the history
Signed-off-by: David Fridrich <[email protected]>
  • Loading branch information
gauron99 committed Feb 4, 2025
1 parent 6aaa358 commit 4199ce7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hack/update-knative-components.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,7 @@ func updateComponentVersions() error {
for _, p := range projects {
newV, err := getLatestVersion(ctx, client, p.owner, p.repo)
if err != nil {
fmt.Fprintf(os.Stderr, "error while getting latest v of %s/%s: %v\n", p.owner, p.repo, err)
os.Exit(1)
return fmt.Errorf("error while getting latest v of %s/%s: %v", p.owner, p.repo, err)
}

// sync the old repo & version
Expand Down

0 comments on commit 4199ce7

Please sign in to comment.