Release Workflow
Prepare a new release of the dart_acdc package for pub.dev.
Steps
- •Read current version from
pubspec.yaml - •Ask user for version bump type (patch/minor/major) or a specific version
- •Update version in
pubspec.yaml - •Update
CHANGELOG.md:- •Check git log since last tag for unreleased changes
- •Add a new version section with today's date
- •Categorize changes (Added, Changed, Fixed, Removed)
- •Run
make cito validate everything passes - •Run
dart pub publish --dry-runto verify the package is publishable - •Create commit:
chore: release vX.Y.Z - •Create git tag:
vX.Y.Z - •Report what was done and remind user to
git push --tagswhen ready