Skip to content

Release Checklist (for maintainers only)

user2684 edited this page Dec 26, 2023 · 5 revisions

This page details the steps maintainers have to go through in order to release a new version of the imouapi library and imou_life Home Assistant integration.

imouapi

  • Optionally upgrade dependencies with poetry show and poetry add package@latest
  • Modify CHANGELOG
  • Run git add .
  • Run git commit -m"Release 1.0.7"
  • Run poetry run tox
  • Run poetry run bump2version patch
  • Run git push origin master
  • Only if overriding a previously pushed tag, run git tag -f v1.0.7
  • Run git push -f --tags

imou_life

  • Run git pull
  • Modify CHANGELOG
  • Update documentation in the README file
  • Setup the test environment with pip install pytest_homeassistant_custom_component
  • Run pytest --asyncio-mode=auto tests
  • Increment version in manifest and in requirements_test.txt
  • Run git add .
  • Run Home Assistant and check the integration is working fine
  • Run git commit -m"Release 1.0.7"
  • Run git push origin master
  • Trigger release workflow
  • Review draft release
  • Review roadmap