summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-11-19 22:27:47 +0700
committerhathach <[email protected]>2025-11-19 23:23:49 +0700
commitf6a77b87f04386ea27effb7c1faf8e1a33da0fa1 (patch)
tree9749a21da41ee3e925ef61035b6468e3e2fb49cd /tools
parent9d7b401c3d98d7923ce3b53d4a129e156e4c9a97 (diff)
Bump version to 0.20.0
Diffstat (limited to 'tools')
-rwxr-xr-xtools/make_release.py17
1 files changed, 11 insertions, 6 deletions
diff --git a/tools/make_release.py b/tools/make_release.py
index 0e7919f46..71c1e6f64 100755
--- a/tools/make_release.py
+++ b/tools/make_release.py
@@ -1,8 +1,9 @@
#!/usr/bin/env python3
import re
import gen_doc
+import gen_presets
-version = '0.19.0'
+version = '0.20.0'
print('version {}'.format(version))
ver_id = version.split('.')
@@ -50,15 +51,19 @@ with open(f_library_json, 'w') as f:
f_sonar_properties = 'sonar-project.properties'
with open(f_sonar_properties) as f:
fdata = f.read()
- fdata = re.sub(r'(sonar\.projectVersion=)\d+\.\d+\.\d+', rf'\1{version}', fdata)
+fdata = re.sub(r'(sonar\.projectVersion=)\d+\.\d+\.\d+', r'\g<1>{}'.format(version), fdata)
with open(f_sonar_properties, 'w') as f:
f.write(fdata)
-###################
-# docs/info/changelog.rst
-###################
-
+# gen docs
gen_doc.gen_deps_doc()
+gen_doc.gen_boards_doc()
+# gen presets
+gen_presets.main()
+
+##################(ver#
+# docs/info/changelog.rst
+###################
print("Update docs/info/changelog.rst")