Skip to content

Commit

Permalink
stop skipping generate if notes file missing
Browse files Browse the repository at this point in the history
Signed-off-by: Kenneth Bingham <[email protected]>
  • Loading branch information
qrkourier committed Aug 8, 2024
1 parent ffc7629 commit 5b5dc1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/releaser/releaser.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ func (r *Releaser) getReleaseNotes(chart *chart.Chart) (string, error) {
}
}
fmt.Printf("The release note file %q, is not present in the chart package\n", r.config.ReleaseNotesFile)
} else if r.config.GenerateReleaseNotes {
}
if r.config.GenerateReleaseNotes {
latestRelease, err := r.github.GetLatestChartRelease(context.TODO(), chart.Metadata.Name)
if err != nil {
return "", errors.Wrapf(err, "failed to get latest release for chart %s", chart.Metadata.Name)
Expand Down

0 comments on commit 5b5dc1f

Please sign in to comment.