Ci/automate updating the CHANGELOG.md
files
#1879
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
This PR aims to update #1878 changes to also automate the generation of the
CHANGELOG.md
files, the maintainers are no longer required to manually change theversion.dart
and the rootCHANGELOG.md
then run the script, and after that commit the changes and push them, then create a Github release to automate the publishingnow, you just have to create a new GitHub release, you can use the auto-generate release notes button or manually type the changes and once you click the publish button, the CI will automate this whole process, I migrated all the previous data from
CHANGELOG.md
toCHANGELOG.json
(using another quick script that's not in the project)Don't get confused by this:

It's mostly due to auto-generated
CHANGELOG.md
files, this PR doesn't change much other than the GitHub workflow, the script, the development notes, and a few changes, I should have let GitHub actions run the script instead but it will be overwritten and doesn't matter that much,Checklist
CHANGELOG.md
nor the plugin version inpubspec.yaml
files../scripts/before_push.sh
and it all passed successfullyBreaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?
!
in the title as explained in Conventional Commits).