Skip to content

Commit

Permalink
fix(changelog): when overriding release version corresponding tag is …
Browse files Browse the repository at this point in the history
…also overridden
  • Loading branch information
zbindenren committed Jan 5, 2021
1 parent e6f7a8c commit 62c99ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func (c Command) runRelease(dst io.Writer, l *flash.Logger, cfg config.Changelog

l.Debugw("create release tag", "release", "v"+version.String())

if err := g.CreateRelease(next.String()); err != nil {
if err := g.CreateRelease(version.String()); err != nil {
return err
}

Expand Down

0 comments on commit 62c99ab

Please sign in to comment.