Add changelog argument options #294
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
As described in #291, this adds config options for the changelog arguments
--incremental
and--start-rev
to commitizen.Checklist
./script/format
and./script/test
locally to ensure this change passes linter check and testExpected behavior
changelog_incremental = true
in the config file, commitizen will only ever attempt incremental changelog updates.changelog_start_rev = <rev>
in the config file, commitizen will always update the changelog starting from the given rev.Steps to Test This Pull Request
changelog_incremental
changelog_incremental = true
topyproject.toml
/.cz.toml
cz changelog
changelog_start_rev
changelog_start_rev = <rev>
topyproject.toml
/.cz.toml
where is the noted rev from the second commitcz changelog
and see the first commit not being added as an entry to changelogAdditional context
#291