Closed ofhouse closed 2 years ago
Hi, I tried to use the plugin in a CI system together with the --no-increment from the release-it CLI.
--no-increment
release-it
Initial Changelog
# Changelog ## [Unreleased] - Some changes
Generate the release locally
# Changelog ## [Unreleased] ## [v1.0.0] - Some changes
release-it --no-increment --ci
I would expect that the plugin does not try to update the changelog, when the --no-increment flag is set.
The plugin throws an error when the "Unreleased" section is empty:
ERROR There are no entries under "Unreleased" section in CHANGELOG.md.
Hi, I tried to use the plugin in a CI system together with the
--no-increment
from therelease-it
CLI.My workflow:
Initial Changelog
Generate the release locally
Expected behavior
I would expect that the plugin does not try to update the changelog, when the
--no-increment
flag is set.Actual behavior
The plugin throws an error when the "Unreleased" section is empty: