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

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

Closed
antonengelhardt opened this issue May 24, 2024 · 3 comments
Closed

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

antonengelhardt opened this issue May 24, 2024 · 3 comments

Comments

@antonengelhardt
Copy link

antonengelhardt commented May 24, 2024

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
Copy link
Owner

orhun commented May 24, 2024

Hello, thanks for the report & sponsorship! <3

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

@antonengelhardt
Copy link
Author

fixed, no? @orhun

@orhun
Copy link
Owner

orhun commented Jun 11, 2024

yup, forgot to close it

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

Successfully merging a pull request may close this issue.

2 participants