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.

50 lines
1.4 KiB

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