Skip to content

Commit

Permalink
fix: write next release version in changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
wintbiit committed Apr 17, 2024
1 parent 0830ea8 commit 09288b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion output/changelog.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (o *ChangeLogOutput) Output(result *types.Result, opt *types.SemanticOption
}
defer f.Close()

_, err = f.WriteString(fmt.Sprintf("# Changelog %s\n\n", result.LatestRelease.Version.ShortString()))
_, err = f.WriteString(fmt.Sprintf("# Changelog %s\n\n", result.NextRelease.Version.ShortString()))
if err != nil {
return err
}
Expand Down

0 comments on commit 09288b0

Please sign in to comment.