release.py 722 B

1234567891011121314151617
  1. #!/usr/bin/env python3
  2. # Create a new release from master. Execute the followings:
  3. # - On lvgl, lv_demos, and lv_drivers:
  4. # - Detect the current version of master. E.g. 8.1-dev
  5. # - Create a new branch from the master for the release. E.g. release/v8.1
  6. # - Remove the "-dev" postfix from the version numbers
  7. # - Create a tag for the new version. E.g. v8.1
  8. # - Push the new branch and tag
  9. # - Get the relevant changes from docs/CHANGELOG.md and create a blog post from it
  10. # - Increment the version number in master. E.g.g 8.1-dev to 8.2-dev
  11. # - Add a new section to the CHANGELOG with the new version
  12. # - Update the simulator and lv_port projects
  13. #
  14. # USAGE:
  15. # release.py <type>
  16. # - <type>: -minor or -major