You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.3 KiB

  1. # Release plan
  2. All development is done in the `dev` branch. Once the development branch is
  3. ready for a new production release, the following steps are followed:
  4. **Update the CHANGELOG.md**
  5. Make sure all notable changes are recorded in the changelog.
  6. **Update ESPHome version information**
  7. The minimum ESPHome version requirement must be documented correctly in the following files:
  8. * doc/installation.md (at the start of the file)
  9. * README.md (at the start of the quick start guide)
  10. * CHANGELOG.md (at the start of the log for the released version)
  11. * `components/xiaomi_bslamp2/__init__.py` in the function
  12. `check_version_compatibility()`. This function can also be used
  13. to check the maximum version of ESPHome that can be used. An example
  14. of this use can be found in the `release/2021.10.0` branch.
  15. **Create version release branch**
  16. Branch `dev` to a `release/<version>` branch, e.g. `release/2021.10.0`.
  17. ```
  18. $ git checkout dev
  19. $ git checkout -b release/2021.10.0
  20. ```
  21. **Update project version information**
  22. The version of this project (e.g. `2021.10.0`) must be updated in:
  23. * `example.yaml` (the `ref:` for the bslamp2 configuration package)
  24. * `packages/core.yaml` (the `ref:` for the external component)
  25. **Push the release to GitHub**
  26. ```
  27. $ git push --set-upstream origin release/2021.10.0
  28. ```