-
-
Notifications
You must be signed in to change notification settings - Fork 269
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues
Description of the bug
I am trying to add a few variables for use in templates (in particular package.metadata.deb.revision to generate a Debian changelog) so I used the --context and --from-context options with some jq in between in my release script to add those. However, rather unexpectedly, --from-context fails due to a missing field azure_devops which I neither use in my cliff.toml, in CLI options or anywhere else.
The context.json file contains a field azureDevops in a few places so I assume there is some issue where the source code produces that but expected azure_devops when parsing.
Steps To Reproduce
- git cliff ... --context --output context.json
- git cliff ... --from-context context.json
- Get error like JsonError(Error("missing field
azure_devops", line: 58, column: 7))
Expected behavior
I would expect it to parse the context.json it just produced itself.
Screenshots / Logs
No response
Software information
- Operating system: Gentoo Linux
- Rust version: 1.92.0
- Project version: 2.11.0
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working