orhun / git-cliff-action

GitHub action to generate a changelog based on the Git history
https://github.com/orhun/git-cliff
Apache License 2.0
117 stars 14 forks source link

add hint: --prepend and output is somewhat incompatible #21

Closed antonengelhardt closed 2 months ago

antonengelhardt commented 3 months ago

I had this CI step:

- name: Git Cliff
  id: generate_changelog
  uses: orhun/git-cliff-action@v3
  with:
    config: cliff.toml
    args: -l --prepend CHANGELOG.md
  env:
    GITHUB_REPO: ${{ github.repository }}
    OUTPUT: CHANGELOG.md

This is what i have now

My best guess is that the output option replaces the changelog instead of doing the prepend. If that is correct, i would have liked to see a hint that tells me that setting the Output together with --prepend as an arg, is not working and one of them should be removed.

Awesome tools though! Cheers

orhun commented 3 months ago

Hello, thanks for the report & sponsorship! <3

Good catch, created #22, let me know what you think!

antonengelhardt commented 2 months ago

fixed, no? @orhun

orhun commented 2 months ago

yup, forgot to close it