mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-26 19:15:38 +08:00
update release script
This commit is contained in:
+2
-2
@@ -80,13 +80,13 @@ def lvgl_update_library_json(v):
|
||||
title("lvgl: Update version number in library.json")
|
||||
|
||||
f = open("./library.json", "r")
|
||||
|
||||
vn = v[1:]
|
||||
outbuf = ""
|
||||
|
||||
for i in f.read().splitlines():
|
||||
r = re.search(r'"version": ', i)
|
||||
if r:
|
||||
i = ' "version": "' + v + '",'
|
||||
i = ' "version": "' + vn + '",'
|
||||
|
||||
outbuf += i + '\n'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user