-
Notifications
You must be signed in to change notification settings - Fork 230
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
[dart pub bump] add a changelog parameters to add an entry to the changelog #4461
Comments
Yeah - I think this is a good idea. I just think we need to settle on a specific changelog format first... |
I propose the format: # 1.0.0 - 2024-12-09
- changelog entry
- other entry
(not sure if multiple arguments like that is supported, that's what a quick google search gave me) |
Problem is that many existing changelogs will have another format.
Should we try to detect the existing format? |
|
Detecting the existing format sounds like an error vector for little gains to me (but maybe it's easier than I think ? ). The simplest solution, imo, would be to have a recommended format, so no detection is required. If people want their specific format they can always do it manually
If I understood you correctly, that would defeat the purpose of the parameter quite a bit, which is, at least in my case, to not have to modify that file via the command line (or manually), because that command is run in github actions. To give some context: I have a package that downloads phone numbers metadata periodically and generates dart classes via github actions. My goal with a changelog parameter would be to just run |
It may seem out of scope but for quality of life, a parameter to add a changelog entry would be helpful when running in CI
eg:
The text was updated successfully, but these errors were encountered: