Steps to publish to pub.dartlang.org:
- Remove MacOS Finder extended properties:
sudo xattr -cr
- Verify no documentation issues:
dartdoc --no-auto-include-dependencies
- Verify packages are all up to date:
flutter pub outdated
- Verify no code issues:
flutter analyze
- Run unit tests:
flutter test
- Do a dry run:
flutter pub publish --dry-run
- Publish:
flutter pub publish
- Verify at: https://pub.dev/packages/flutter_material_pickers
- Apply tag to git:
git tag v1.x.x
thengit push origin --tags