Skip to content

2.11.0: output configuration is ignored #1317

@Akuukis

Description

@Akuukis

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

I observed that 2.11.0 git-cliff outputs to stdout, and outputs nothing to the file despite the configuration output=CHANGELOG.md.

Steps To Reproduce

git clone [email protected]:kobotoolbox/kpi.git repro # or any other repo that has `output` configured in `cliff.toml`.
cd repro

wc CHANGELOG.md # wc: CHANGELOG.md: No such file or directory -> OK
CI=true npx [email protected]
wc CHANGELOG.md #   26498  165699 2248197 CHANGELOG.md -> OK, v2.10 works as expected and output to file.

rm CHANGELOG.md
wc CHANGELOG.md # wc: CHANGELOG.md: No such file or directory -> OK
CI=true npx [email protected] # fyi, unexpected that it outputs to stdout now
wc CHANGELOG.md # wc: CHANGELOG.md: No such file or directory -> BREAKING CHANGE: v2.11 outputs nothing to the file

Expected behavior

I expect the configuration output=CHANGELOG.md to make git-cliff output the changelog into the said file like it was in v2.10.

Screenshots / Logs

See https://github.com/kobotoolbox/kpi/actions/runs/20257568370/job/58162724227

Image Image

Software information

  • Operating system: Ubuntu 24.04 (Github Actions)
  • Rust version: N/A
  • Project version: 2.11.0

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions