diff options
| author | HiFiPhile <[email protected]> | 2025-10-31 17:22:24 +0100 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2025-10-31 17:22:24 +0100 |
| commit | a1b0aa4e3ac738e6232c776c6eaddaef2fc7066a (patch) | |
| tree | 85b214dd01a63181e02675c28902ce67ea526621 /tools/make_release.py | |
| parent | 30132e8e6d39447c0633f96594ff4bdac06d6bc8 (diff) | |
| parent | dfcab8747d48b18290a5f93ce893541644a9bac6 (diff) | |
Merge remote-tracking branch 'tinyusb/master' into copilot/fix-dcd-edpt-xfer-issue
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'tools/make_release.py')
| -rwxr-xr-x | tools/make_release.py | 11 |
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 ################### |
