Skip to content
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

Howto maintain the file? Writing output to a file, appends the new journal to the end #365

Open
diefans opened this issue Dec 13, 2019 · 2 comments

Comments

@diefans
Copy link

diefans commented Dec 13, 2019

I am testing your tool...

Using -o option appends the journal to the end of the file, which seem to contradict the "normal" order of a changelog. The question arises, if the full changelog should be generated or just the "diff" to the last release...?

I was avoiding the -o option and tried to write the output directly into the file

git journal > CHANGELOG.md

which also failed, since ansi escape sequences are not stripped. This rigid "feature" of enabling the color could be easily put in automatic mode, just by checking if stdout is a tty...

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.68. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@saschagrunert
Copy link
Owner

Ah yeah that sounds like a reasonable addition. Both, perpending the file and auto detecting the tty. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants