summaryrefslogtreecommitdiff
path: root/tools/make_release.py
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-10-30 13:59:25 +0700
committerhathach <[email protected]>2025-10-30 14:35:11 +0700
commit88305b1b34160b4548609b78807be910944856ab (patch)
tree289dcba56ba8e65f04fe978806d845ab15e25f6c /tools/make_release.py
parent83baf13dcbde66942419c03348cc88ef22575e32 (diff)
parent3ff54153d42c83fc0a1e13106c6632c3237b1670 (diff)
Merge branch 'master' into add-ohci-lpc55
# Conflicts: - hw/bsp/lpc17/family.cmake - hw/bsp/lpc40/family.cmake - hw/bsp/lpc55/family.cmake
Diffstat (limited to 'tools/make_release.py')
-rwxr-xr-xtools/make_release.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/make_release.py b/tools/make_release.py
index 488ad4901..0e7919f46 100755
--- a/tools/make_release.py
+++ b/tools/make_release.py
@@ -45,6 +45,17 @@ with open(f_library_json, 'w') as f:
f.write(fdata)
###################
+# sonar-project.properties
+###################
+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)
+
+with open(f_sonar_properties, 'w') as f:
+ f.write(fdata)
+
+###################
# docs/info/changelog.rst
###################