Skip to content

Commit

Permalink
merge format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
radTuti committed Nov 19, 2024
1 parent 676b1fb commit 5b8194b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions release/build/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,10 @@ func hashreleaseSubCommands(cfg *config.Config) []*cli.Command {
// For real releases, release notes are generated prior to building the release.
// For hash releases, generate a set of release notes and add them to the hashrelease directory.
releaseVersion, err := version.DetermineReleaseVersion(versions.ProductVersion, cfg.DevTagSuffix)
if err != nil {
return fmt.Errorf("Failed to determine release version: %v", err)
}
if _, err := outputs.ReleaseNotes(c.String(orgFlag), cfg.GithubToken, cfg.RepoRootDir, filepath.Join(dir, releaseNotesDir), releaseVersion); err != nil {
if err != nil {
return fmt.Errorf("failed to determine release version: %v", err)
}
if _, err := outputs.ReleaseNotes(c.String(orgFlag), cfg.GithubToken, cfg.RepoRootDir, filepath.Join(dir, releaseNotesDir), releaseVersion); err != nil {
return err
}
}
Expand Down

0 comments on commit 5b8194b

Please # to comment.