diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cf8168bd..94d892fb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ - Do not call `set_px_cb` for transparent pixel - Fix list button focus in material theme - 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) diff --git a/lv_conf_template.h b/lv_conf_template.h index 415a33d8f..d6a9c4543 100644 --- a/lv_conf_template.h +++ b/lv_conf_template.h @@ -1,6 +1,6 @@ /** * @file lv_conf.h - * + * Configuration file for LVGL v7.0.2 */ /* diff --git a/scripts/release.py b/scripts/release.py index 1514ae530..4b48d8bb4 100644 --- a/scripts/release.py +++ b/scripts/release.py @@ -104,6 +104,11 @@ def lvgl_update_library_json(v): f.write(outbuf) 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): title("lvgl: commit and push release") @@ -235,7 +240,8 @@ lvgl_clone() lvgl_format() lvgl_update_api_docs() 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_merge_to_release_branch(ver_str)