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