summaryrefslogtreecommitdiff
path: root/lib/lvgl/scripts/release/release.py
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-06-01 15:41:47 +1000
committerjacqueline <me@jacqueline.id.au>2023-06-01 15:41:47 +1000
commitdd27c3530432ea0b09f01e604bf577f31d8ef841 (patch)
treebbf86cf81a78f0ff0b07f31f1c390db473f26fd3 /lib/lvgl/scripts/release/release.py
parent6fd588e970470b15936187980829916d0dbe77bb (diff)
downloadtangara-fw-dd27c3530432ea0b09f01e604bf577f31d8ef841.tar.gz
convert lvgl from submodule to a plain old directory
Diffstat (limited to 'lib/lvgl/scripts/release/release.py')
m---------lib/lvgl0
-rw-r--r--lib/lvgl/scripts/release/release.py17
2 files changed, 17 insertions, 0 deletions
diff --git a/lib/lvgl b/lib/lvgl
deleted file mode 160000
-Subproject 0732400e7b564dd0e7dc4a924619d8e19c5b23a
diff --git a/lib/lvgl/scripts/release/release.py b/lib/lvgl/scripts/release/release.py
new file mode 100644
index 00000000..7da8230b
--- /dev/null
+++ b/lib/lvgl/scripts/release/release.py
@@ -0,0 +1,17 @@
+#!/usr/bin/env python3
+
+# Create a new release from master. Execute the followings:
+# - On lvgl, lv_demos, and lv_drivers:
+# - Detect the current version of master. E.g. 8.1-dev
+# - Create a new branch from the master for the release. E.g. release/v8.1
+# - Remove the "-dev" postfix from the version numbers
+# - Create a tag for the new version. E.g. v8.1
+# - Push the new branch and tag
+# - Get the relevant changes from docs/CHANGELOG.md and create a blog post from it
+# - Increment the version number in master. E.g.g 8.1-dev to 8.2-dev
+# - Add a new section to the CHANGELOG with the new version
+# - Update the simulator and lv_port projects
+#
+# USAGE:
+# release.py <type>
+# - <type>: -minor or -major