Commit 1600a47
fix: keep git output out of the changelog increment file
When `changelog_increment_filename` is set, the action redirects the
bump command's stdout to that file. Without `--git-output-to-stderr`,
the post-bump `git commit` output (e.g. `[main abcdef] bump:
version 0.0.0 -> 0.1.0` and the `2 files changed, ...` summary)
ends up appended to the changelog file, producing a noisy artifact
that has to be hand-cleaned before it can be used as a release body.
When `changelog_increment_filename` is supplied, force
`--git-output-to-stderr` unless the user already enabled it via
`git_redirect_stderr: true`. The changelog file then contains only
the actual changelog content.
Closes #82
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 338bbd8 commit 1600a47
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
98 | 104 | | |
99 | 105 | | |
100 | 106 | | |
| |||
0 commit comments