-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add flag to turn on or off creating/modifying CHANGELOG.md #86
Conversation
Thank you. It is a good feature.
|
logs, _, err := gch.Changelogs(ctx, 20) | ||
if err != nil { | ||
|
||
if tp.cfg.changelog == nil || *tp.cfg.changelog { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Songmu If tagpr.changelog configuration is not defined, this condition will be evaluated to true, isn't it? So it does not change the current behaviour.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops. You are right. So here's what you should do.
- Update
cfg.Reload
- Keep .tagpr unchagend in this repository
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Thank you. |
Released as v0.2.0. |
Since our project is not using CHANGELOG.md, creating or modifying them by tagpr is not needed for us. This pull request proposes to add a flag to turn on/off the feature by .tagpr configuration file for people who wants turn it off like us.