Skip to content

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

Open
@diefans

Description

@diefans

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...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions