Closed mowies closed 10 minutes ago
While doing some debugging, I noticed that chloggen outputs to stdout by default. That has a few issues in the repos that use this tool, e.g. the opentelemetry-collector repos where the output is redirected to file which doesn't work as it should.
Example:
chloggen update --config ./path/to/config --dry 1>stdout.md 2>stderr.md
This will result in stdout.md being empty and stderr.md having the changelog dry run content.
stdout.md
stderr.md
I will provide a small fix for this
While doing some debugging, I noticed that chloggen outputs to stdout by default. That has a few issues in the repos that use this tool, e.g. the opentelemetry-collector repos where the output is redirected to file which doesn't work as it should.
Example:
This will result in
stdout.md
being empty andstderr.md
having the changelog dry run content.