Use this checklist before publishing bdk_dart to pub.dev.
-
pubspec.yamlincludes a cleardescription. -
pubspec.yamlincludeslicenseand it matches repository licensing. -
pubspec.yamlincludeshomepage. -
pubspec.yamlincludesrepository. -
pubspec.yamlincludesissue_tracker. - Version is bumped to the intended release version.
- Native and bindings changes are finalized.
-
lib/bdk.dartis regenerated if needed. -
scripts/generate_bindings.shsucceeds on a clean checkout.
Run all checks from repository root:
dart pub get
dart format --output=none --set-exit-if-changed lib test example bdk_demo/lib bdk_demo/test
dart analyze --fatal-infos --fatal-warnings lib test example
dart test
cd bdk_demo && flutter pub get && flutter analyze- All commands above pass locally.
- CI is green on
main.
-
README.mdis up to date for install and usage. -
SUPPORTED_TARGETS.mdis up to date. - Changelog/release notes are prepared.
- Release tag/version plan is confirmed with maintainers.
dart pub publish --dry-run- Dry run passes with no unexpected warnings/errors.
- Publish to pub.dev from the release commit/tag.
- Verify package page renders correctly on pub.dev.
- Verify version and metadata fields are correct.
- Perform a clean install test from pub.dev in a sample project.
- Announce release with release notes.