Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.39 KB

publishing.md

File metadata and controls

51 lines (37 loc) · 1.39 KB

Publishing

This document describes step-by-step how to release a new version of the library to pub.

  1. floor_annotation

    1. Update CHANGELOG
    2. Update version
    3. Update dependencies
    4. dart pub get
  2. floor

    1. Update CHANGELOG
    2. Update README with updated library versions
    3. Update version
    4. Update dependencies
    5. flutter packages get
  3. floor_generator

    1. Update CHANGELOG
    2. Update version
    3. Update dependencies
    4. dart pub get
  4. Check if all dependencies can be resolved and project runs as expected

  5. floor_annotation

    1. dart pub publish
  6. floor_generator

    1. Change path of floor_annotation to point to pub hosted package
    2. dart pub publish
    3. Change path of floor_annotation to point to local package
  7. floor

    1. Change path of floor_annotation to point to pub hosted package
    2. Change path of floor_generator to point to pub hosted package
    3. dart pub publish
    4. Change path of floor_annotation to point to local package
    5. Change path of floor_generator to point to local package
  8. Update top-level README with updated library versions

  9. Update docs/getting-started.md with updated library versions

  10. Update docs/changelog.md

  11. Create pull request with changes

  12. Merge changes into develop branch

  13. Create GitHub release