Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow empty releases #115

Open
mcmire opened this issue Aug 1, 2022 · 0 comments
Open

Allow empty releases #115

mcmire opened this issue Aug 1, 2022 · 0 comments

Comments

@mcmire
Copy link
Contributor

mcmire commented 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 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.
@mcmire mcmire changed the title Revisit updateChangelog returning undefined Allow empty releases Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants