Skip to content

Commit

Permalink
Merge pull request #21 from rios0rios0/fix/changelog
Browse files Browse the repository at this point in the history
fix(changelog): fixed changelog patch number calculations
  • Loading branch information
rios0rios0 authored Sep 6, 2023
2 parents c28c554 + ab83269 commit 5d114ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/autobump/changelog.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func processChangelog(lines []string) (*semver.Version, []string, error) {
}
log.Infof("Previous version: %s", latestVersion)

nextVersion := latestVersion.IncPatch()
nextVersion := *latestVersion
for _, line := range lines {

if strings.Contains(line, "[Unreleased]") {
Expand Down

0 comments on commit 5d114ce

Please sign in to comment.