1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

include the version number in lv_conf_template.h

https://forum.lvgl.io/t/add-lvgl-version-to-lv-conf-h/2396/3
This commit is contained in:
Gabor Kiss-Vamosi 2020-06-05 10:35:13 +02:00
parent 4f3dac6477
commit 673c493694
3 changed files with 9 additions and 2 deletions

View File

@ -10,6 +10,7 @@
- Do not call `set_px_cb` for transparent pixel - Do not call `set_px_cb` for transparent pixel
- Fix list button focus in material theme - Fix list button focus in material theme
- Fix crash when the a text area is cleared with the backspace of a keyboard - Fix crash when the a text area is cleared with the backspace of a keyboard
- Add versionnumber to `lv_conf_template.h`
## v7.0.1 (01.06.2020) ## v7.0.1 (01.06.2020)

View File

@ -1,6 +1,6 @@
/** /**
* @file lv_conf.h * @file lv_conf.h
* * Configuration file for LVGL v7.0.2
*/ */
/* /*

View File

@ -104,6 +104,11 @@ def lvgl_update_library_json(v):
f.write(outbuf) f.write(outbuf)
f.close() f.close()
def lvgl_update_lv_conf_templ(ver_str):
title("lvgl: Update version number in lv_conf_template.h")
cmd("sed -i -r 's/v[0-9]+\.[0-9]+\.[0-9]+/"+ ver_str +"/' lv_conf_template.h ")
def lvgl_commit_push(v): def lvgl_commit_push(v):
title("lvgl: commit and push release") title("lvgl: commit and push release")
@ -236,6 +241,7 @@ lvgl_format()
lvgl_update_api_docs() lvgl_update_api_docs()
ver_str = lvgl_update_version() ver_str = lvgl_update_version()
lvgl_update_library_json(ver_str) lvgl_update_library_json(ver_str)
lvgl_update_lv_conf_templ(ver_str)
lvgl_commit_push(ver_str) lvgl_commit_push(ver_str)
lvgl_merge_to_release_branch(ver_str) lvgl_merge_to_release_branch(ver_str)