- Make your changes.
- Run
dart analyze
to check for errors.
- Run
dart fix --apply
to apply fixes.
- Run
dart format .
to format the code.
- Update the version number in
pubspec.yaml
.
- Update the version number in
CHANGELOG.md
.
- Run
dart pub publish --dry-run
to check for errors.
- Run
dart pub publish
to publish the package.
rm -rf ___generators/
git clone https://github.com/robmllze/___generators.git
dart pub get -C ___generators
rm -rf .github/
git clone https://github.com/robmllze/pub.dev_package_workflow.git .github
rm -rf .github/.git
cd your/project/path
find . -name '.DS_Store' -type f -delete
rmdir /s /q ___generators/
git clone https://github.com/robmllze/___generators.git
dart pub get -C ___generators
rmdir /s /q ___generators/.git
rmdir /s /q .github/
git clone https://github.com/robmllze/pub.dev_package_workflow.git .github
rmdir /s /q .github/.git