You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if we can't find any commits to add to the changelog, and the --rc option was provided or if there are already unreleased changes present in the changelog, the changelog is left unaltered and updateChangelog returns undefined.
This should be changed slightly:
If the --rc option was provided and a new option --allow-empty-releases is provided, then a new section should be added to the changelog which merely reads something like "There are no changes for this release." (This is designed for monorepos which use a fixed versioning scheme, where even if a package has no changes, we may still want to create a new release for that package.)
Otherwise, undefined should be returned.
The text was updated successfully, but these errors were encountered:
mcmire
changed the title
Revisit updateChangelog returning undefined
Allow empty releases
Aug 1, 2022
Currently, if we can't find any commits to add to the changelog, and the
--rc
option was provided or if there are already unreleased changes present in the changelog, the changelog is left unaltered andupdateChangelog
returns undefined.This should be changed slightly:
--rc
option was provided and a new option--allow-empty-releases
is provided, then a new section should be added to the changelog which merely reads something like "There are no changes for this release." (This is designed for monorepos which use a fixed versioning scheme, where even if a package has no changes, we may still want to create a new release for that package.)The text was updated successfully, but these errors were encountered: